Loading...
Searching...
No Matches
boolWrap Class Reference

Expression wrap of non-const bool. More...

#include <boolExpression.H>

Inheritance diagram for boolWrap:
Collaboration diagram for boolWrap:

Public Member Functions

 boolWrap (const bool elems)
 Construct from components.
template<typename E>
 boolWrap (const GenericExpression< E > &expr)
auto evaluate () const
template<typename E>
auto evaluate (const GenericExpression< E > &expr)
template<typename E>
void operator= (const GenericExpression< E > &expr)
 Assignment.
Public Member Functions inherited from GenericExpression< boolWrap >
auto evaluate () const

Static Public Attributes

static constexpr bool is_leaf = false
Static Public Attributes inherited from GenericExpression< boolWrap >
static constexpr bool is_leaf

Detailed Description

Expression wrap of non-const bool.

Definition at line 52 of file boolExpression.H.

Constructor & Destructor Documentation

◆ boolWrap() [1/2]

boolWrap ( const bool elems)
inline

Construct from components.

Definition at line 64 of file boolExpression.H.

◆ boolWrap() [2/2]

template<typename E>
boolWrap ( const GenericExpression< E > & expr)
inline

Definition at line 71 of file boolExpression.H.

References evaluate().

Here is the call graph for this function:

Member Function Documentation

◆ evaluate() [1/2]

auto evaluate ( ) const
inline

Definition at line 79 of file boolExpression.H.

Referenced by boolWrap().

Here is the caller graph for this function:

◆ evaluate() [2/2]

template<typename E>
auto evaluate ( const GenericExpression< E > & expr)
inline

Definition at line 85 of file boolExpression.H.

◆ operator=()

template<typename E>
void operator= ( const GenericExpression< E > & expr)
inline

Assignment.

Definition at line 98 of file boolExpression.H.

Member Data Documentation

◆ is_leaf

bool is_leaf = false
staticconstexpr

Definition at line 59 of file boolExpression.H.


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