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

Synopsis

Declared in <bslmf_if.h>

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

Type Aliases

Name

Description

Type

Selected type based on t_CONDITION.

Created with MrDocs