|
BDE 4.39.x Production Release
|
#include <bslstl_optional.h>
C++03 does not provide a trivially destructible trait. Instead we use bslmf::IsBitwiseCopyable which implies the type is also trivially destructible.
bslmf::IsBitwiseCopyable here and not bsl::is_trivially_copyable because on some platforms, the native std::is_trivially_copyable<Optional_Data<t_TYPE, true>> is false even though it has no dtor and TYPE is trivally copyable. Additional Inherited Members | |
Public Types inherited from bsl::integral_constant< t_TYPE, t_VALUE > | |
| typedef t_TYPE | value_type |
| typedef integral_constant | type |
Public Member Functions inherited from bsl::integral_constant< t_TYPE, t_VALUE > | |
| integral_constant ()=default | |
| integral_constant (const integral_constant &)=default | |
| integral_constant | operator= (const integral_constant &)=default |
| ~integral_constant ()=default | |
| operator value_type () const | |
| value_type | operator() () const |
Static Public Attributes inherited from bsl::integral_constant< t_TYPE, t_VALUE > | |
| static const t_TYPE | value = t_VALUE |