C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
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 22943 of file exprtk.hpp.

Member Function Documentation

◆ end_inclusive()

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

Definition at line 22961 of file exprtk.hpp.

22962 {
22963 return false;
22964 }

◆ is_greater()

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

Definition at line 22956 of file exprtk.hpp.

22957 {
22958 return (end <= v);
22959 }

◆ is_less()

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

Definition at line 22951 of file exprtk.hpp.

22952 {
22953 return (v < begin);
22954 }

◆ is_within()

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

Definition at line 22945 of file exprtk.hpp.

22946 {
22947 assert(begin <= end);
22948 return (begin <= v) && (v < end);
22949 }

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