Template Numerical Library version\ main:60862f96
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
TNL::LogicalAnd Struct Reference

Function object implementing x && y. More...

#include <TNL/Functional.h>

Inheritance diagram for TNL::LogicalAnd:
Collaboration diagram for TNL::LogicalAnd:

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

Detailed Description

Function object implementing x && y.

Member Function Documentation

◆ getIdentity()

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