InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SelectType< flag, T, U > Struct Template Reference

#include <EscapeTable.h>

Public Types

typedef T Result
 

Detailed Description

template<bool flag, typename T, typename U>
struct SelectType< flag, T, U >

Selects one of two types based upon a boolean constant Usage: SelectType<flag, T, U>::Result flag has to be a compile-time boolean constant Result evaluates to T if flag is true, and to U otherwise.