Template Numerical Library: TNL::BitAnd Struct Reference

Template Numerical Library version\ main:c7077e4fd

Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
TNL::BitAnd Struct Reference
Function objects for reduction operations

Extension of std::bit_and<void> for use with TNL::Algorithms::reduce. More...

`#include <TNL/Functional.h>`

Inheritance diagram for TNL::BitAnd:
[legend]
Collaboration diagram for TNL::BitAnd:
[legend]

## Static Public Member Functions
template<typename T>
static constexpr T | getIdentity ()
| Returns the identity element of the operation.

## Additional Inherited Members
Public Member Functions inherited from std::bit_and< void >
T | operator() (T... args)

## Detailed Description

Extension of std::bit_and<void> for use with TNL::Algorithms::reduce.

## Member Function Documentation

## ◆ getIdentity()

template<typename T>

constexpr T TNL::BitAnd::getIdentity | ( |  | ) |
| inlinestaticconstexpr

Returns the identity element of the operation.

Suitable for TNL::Algorithms::reduce.

The documentation for this struct was generated from the following file:

- src/TNL/Functional.h