Template Numerical Library version\ main:9e7b0f4
Loading...
Searching...
No Matches

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

#include <TNL/Functional.h>

Inheritance diagram for TNL::BitOr:
Collaboration diagram for TNL::BitOr:

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_or< void >
operator() (T... args)

Detailed Description

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

Member Function Documentation

◆ getIdentity()

template<typename T>
constexpr T TNL::BitOr::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: