#include "as_expression.hpp"#include "conditional_expression.hpp"#include "expression_operand.hpp"#include "expression_stream.hpp"#include <utility>Contains xtd::expressions::if_then_else_expression operator.
Go to the source code of this file.
Classes | |
| struct | xtd::expressions::if_then_else_expression< condition_t, then_t, else_t > |
| The xtd::expressions::if_then_else_expression is the addition expression. More... | |
Namespaces | |
| namespace | xtd |
| The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more. | |
| namespace | xtd::expressions |
| The xtd::expressions namespace provides a lightweight, composable expression template framework for building and evaluating lazy, strongly-typed functional expressions from arbitrary callables. | |
Public Operators | |
| template<typename condition_t, typename then_t, typename else_t> requires expression_operand<condition_t> || expression_operand<then_t> || expression_operand<else_t> | |
| constexpr auto | xtd::expressions::if_then_else (condition_t condition, then_t then_, else_t else_) |
| If condition is true return then_ else retur nelse_. | |