Conditional/Alternative wrapper.
More...
#include <eve/conditional.hpp>
Required header: #include <eve/conditional.hpp>
eve::or_ wraps any eve::conditional_expr with an alternative value to be used whenever the conditional value evaluates to false.
- Template Parameters
-
|
|
using | alternative_type = V |
| | The type of the alternative value.
|
| |
|
using | conditional_type = C |
| | The type of the wrapped conditional expression.
|
| |
|
|
V | alternative |
| | Value to use as an alternative.
|
| |
|
|
std::ostream & | operator<< (std::ostream &os, or_ const &c) |
| | Inserts a conditional expression with alternative into a output stream.
|
| |