BloombergLP::bslmf::IsTriviallyCopyableCheck

Returns the same value as is_trivially_copyable for checking.

Synopsis

Declared in <bslmf_istriviallycopyable.h>

template<class t_TYPE>
struct IsTriviallyCopyableCheck
    : bsl::is_trivially_copyable<t_TYPE>

Description

This struct exists to return the same value as is_trivially_copyable and is intended to never be specialized. The purpose of using it is to perform the following static assert that the bsl and std versions of is_trivially_copyable are in sync.

Base Classes

NameDescription
bsl::is_trivially_copyable<t_TYPE>This struct template implements a meta-function to determine whether the (template parameter) t_TYPE is trivially copyable.