BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmf::If< t_CONDITION, t_IF_TRUE_TYPE, t_IF_FALSE_TYPE > Struct Template Reference

#include <bslmf_if.h>

Public Types

typedef bsl::conditional< t_CONDITION, t_IF_TRUE_TYPE, t_IF_FALSE_TYPE >::type Type
 

Detailed Description

template<int t_CONDITION, class t_IF_TRUE_TYPE = Nil, class t_IF_FALSE_TYPE = Nil>
struct bslmf::If< t_CONDITION, t_IF_TRUE_TYPE, t_IF_FALSE_TYPE >

This meta-function selects t_IF_TRUE_TYPE if t_CONDITION is non-zero. and t_IF_FALSE_TYPE otherwise.

Member Typedef Documentation

◆ Type

template<int t_CONDITION, class t_IF_TRUE_TYPE = Nil, class t_IF_FALSE_TYPE = Nil>
typedef bsl::conditional<t_CONDITION,t_IF_TRUE_TYPE,t_IF_FALSE_TYPE>::type bslmf::If< t_CONDITION, t_IF_TRUE_TYPE, t_IF_FALSE_TYPE >::Type

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