BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmf::IsBitwiseMoveable_Imp< t_TYPE, bool > Struct Template Reference

#include <bslmf_isbitwisemoveable.h>

Inheritance diagram for bslmf::IsBitwiseMoveable_Imp< t_TYPE, bool >:
bsl::integral_constant< t_TYPE, t_VAL >

Additional Inherited Members

- Public Types inherited from bsl::integral_constant< t_TYPE, t_VAL >
typedef t_TYPE value_type
 
typedef integral_constant type
 
- Public Member Functions inherited from bsl::integral_constant< t_TYPE, t_VAL >
 integral_constant ()=default
 
 integral_constant (const integral_constant &)=default
 
integral_constant operator= (const integral_constant &)=default
 
 ~integral_constant ()=default
 
BSLS_KEYWORD_CONSTEXPR operator value_type () const BSLS_KEYWORD_NOEXCEPT
 Return t_VAL.
 
- Static Public Attributes inherited from bsl::integral_constant< t_TYPE, t_VAL >
static const t_TYPE value = t_VAL
 

Detailed Description

template<class t_TYPE, bool = bsl::is_reference<t_TYPE>::value || bsl::is_function<t_TYPE>::value>
struct bslmf::IsBitwiseMoveable_Imp< t_TYPE, bool >

Function types and reference types are not object types, and so are not bitwise-movable. Both categories of types must be explicitly handled by a distinct template specialization to avoid attempting to instantiate invalid code, such as sizeof(FUNCTION_TYPE), when computing the trait result for other (object) types.


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