Quick Links:

bal | bbl | bdl | bsl

bsl::is_empty< t_TYPE > Struct Template Reference
[Component bslmf_isempty]

#include <bslmf_isempty.h>


Detailed Description

template<class t_TYPE>
struct bsl::is_empty< t_TYPE >

This struct is a meta-function to determine whether the (template parameter) t_TYPE is an empty class type. is_empty inherits from true_type if t_TYPE is a class or struct with no non-static data members other than bit-fields of length 0, no virtual member functions, no virtual base classes, and no base class B for which is_empty<B>value is false; otherwise is_empty inherits from false_type. Note that this meta-function will fail to compile for a union that is the same size as an empty class in C++03.

See Component bslmf_isempty


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