BDE 4.39.x 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>

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.

See bslmf_if

Public Types

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

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: