This struct template implements a meta-function to determine whether the (non-cv-qualified) (template parameter) t_TYPE has been explicitly tagged with the trivially copyable trait. If the flag t_K_INTRINSIC is true then the compiler has already determined that t_TYPE is trivially copyable without user intervention, and the check for nested traits can be optimized away.
Declared in <bslmf_istriviallycopyable.h>
template<
class t_TYPE,
bool t_K_INTRINSIC = false>
struct IsTriviallyCopyable_DetectTrait
: DetectNestedTrait<t_TYPE, is_trivially_copyable>::type
| Name | Description |
|---|---|
DetectNestedTrait<t_TYPE, is_trivially_copyable>::type |
| Name | Description |
|---|---|
IsTriviallyCopyable_DetectTrait<t_TYPE, true> | This struct template implements a meta-function to determine whether the (non-cv-qualified) (template parameter) t_TYPE is trivially copyable. |