|
The MPL Reference Manual: eval_ifBoost , ,
template<
typename C
, typename F1
, typename F2
>
struct eval_if
{
typedef unspecified type;
};
Для любойинтегральной постояннойси нулевойметафункциисf1,f2:
typedef eval_if<c,f1,f2>::type t;
| Return type: | Any type. |
| Semantics: | If c::value == true, t is identical to f1::type; otherwise t is
identical to f2::type. |
Статья The MPL Reference Manual: eval_if раздела может быть полезна для разработчиков на c++ и boost.
:: Главная :: ::
|
|