[#BloombergLP-bslmf-IsTriviallyCopyable_DetectTrait-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::IsTriviallyCopyable_DetectTrait :relfileprefix: ../../ :mrdocs: 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. == Synopsis Declared in `<bslmf_istriviallycopyable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_TYPE, bool t_K_INTRINSIC = false> struct IsTriviallyCopyable_DetectTrait : DetectNestedTrait<t_TYPE, is_trivially_copyable>::type ---- == Base Classes [cols="1,4"] |=== | Name| Description | `DetectNestedTrait<t_TYPE, is_trivially_copyable>::type` | |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslmf/IsTriviallyCopyable_DetectTrait-03.adoc[`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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#