C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk::parser< T >::halfopen_range_policy< T_ > Struct Template Reference

Static Public Member Functions

static bool is_within (const T_ &v, const T_ &begin, const T_ &end)
static bool is_less (const T_ &v, const T_ &begin)
static bool is_greater (const T_ &v, const T_ &end)
static bool end_inclusive ()

Detailed Description

template<typename T>
template<typename T_>
struct exprtk::parser< T >::halfopen_range_policy< T_ >

Definition at line 23027 of file exprtk.hpp.

Member Function Documentation

◆ end_inclusive()

template<typename T>
template<typename T_>
bool exprtk::parser< T >::halfopen_range_policy< T_ >::end_inclusive ( )
inlinestatic

Definition at line 23045 of file exprtk.hpp.

23046 {
23047 return false;
23048 }

◆ is_greater()

template<typename T>
template<typename T_>
bool exprtk::parser< T >::halfopen_range_policy< T_ >::is_greater ( const T_ & v,
const T_ & end )
inlinestatic

Definition at line 23040 of file exprtk.hpp.

23041 {
23042 return (end <= v);
23043 }

◆ is_less()

template<typename T>
template<typename T_>
bool exprtk::parser< T >::halfopen_range_policy< T_ >::is_less ( const T_ & v,
const T_ & begin )
inlinestatic

Definition at line 23035 of file exprtk.hpp.

23036 {
23037 return (v < begin);
23038 }

◆ is_within()

template<typename T>
template<typename T_>
bool exprtk::parser< T >::halfopen_range_policy< T_ >::is_within ( const T_ & v,
const T_ & begin,
const T_ & end )
inlinestatic

Definition at line 23029 of file exprtk.hpp.

23030 {
23031 assert(begin <= end);
23032 return (begin <= v) && (v < end);
23033 }

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