bsl::is_void

This struct template implements the is_void meta-function defined in the C++11 standard [meta.unary.cat]to determine if the (template parameter) t_TYPE is the (possibly cv-qualified) void type. This struct derives from bsl::true_type if t_TYPE is the void type, and bsl::false_type otherwise.

Synopsis

Declared in <bslmf_isvoid.h>

template<class t_TYPE>
struct is_void
    : false_type

Base Classes

NameDescription
false_typeMetafunction representing the boolean constant false.

Specializations

NameDescription
is_void<void> This partial specialization of is_void derives from bsl::true_type for when the (template parameter) t_TYPE is void.
is_void<void volatile> This partial specialization of is_void derives from bsl::true_type for when the (template parameter) t_TYPE is volatile void.
is_void<void const> This partial specialization of is_void derives from bsl::true_type for when the (template parameter) t_TYPE is const void.
is_void<void const volatile> This partial specialization of is_void derives from bsl::true_type for when the (template parameter) t_TYPE is const volatile void.