Argon 0.1.0
Loading...
Searching...
No Matches
argon::CondMonad< CondType, ScalarType > Class Template Reference
Inheritance diagram for argon::CondMonad< CondType, ScalarType >:
Collaboration diagram for argon::CondMonad< CondType, ScalarType >:

Public Types

using PairType = std::pair<CondType, ArgonType>

Public Member Functions

constexpr CondType condition () const
constexpr ArgonType value () const
CondMonad else_if_ (CondType new_condition, ArgonType new_value) const
template<typename FunctionType>
CondMonad else_if_ (CondType condition, FunctionType func) const
CondMonad else_if_ (CondType condition, ScalarType value) const
ArgonType else_ (ArgonType new_value) const
template<typename FunctionType>
ArgonType else_ (FunctionType func) const
ArgonType else_ (ScalarType value) const

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