Alchemy  1.0
A framework to robustly process network messages and structured data
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Hg::value_if< predicate, T, trueValue, falseValue > Struct Template Reference

This construct provides the compile-time equivalent of the ternary operator ?: for value selection. More...

#include <meta_util.h>

Inherits integral_constant< T, trueValue >.

Detailed Description

template<bool predicate, typename T, T trueValue, T falseValue>
struct Hg::value_if< predicate, T, trueValue, falseValue >

This construct provides the compile-time equivalent of the ternary operator ?: for value selection.

Definition at line 95 of file meta_util.h.


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