PVData C++  8.0.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
epics::pvData::meta::is_void< T, R > Struct Template Reference

#include <misc/pv/templateMeta.h>

Detailed Description

template<typename T, class R = void>
struct epics::pvData::meta::is_void< T, R >

test if provided type is 'void' or 'const void'

Avoid having to explicitly specialize for both

template<typename A, class Enable = void>
struct myTemp {...};
// specialization when A is 'void' or 'const void'
template<typename A>
struct myTemp<A, typename meta::is_void<A>::type> {...};

Definition at line 104 of file templateMeta.h.


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