Metafunction that is true when FROM_TYPE and TO_TYPE are the same type (ignoring top‐level const) and that type is bit‐wise copyable.
Synopsis
Declared in <bslalg_arrayprimitives.h>
template<
class FROM_TYPE,
class TO_TYPE>
struct ArrayPrimitives_CanBitwiseCopy
: bsl::integral_constant<bool, bsl::is_same<typename bsl::remove_const<FROM_TYPE>::type, typename bsl::remove_const<TO_TYPE>::type>::value && bslmf::IsBitwiseCopyable<typename bsl::remove_const<TO_TYPE>::type>::value>
Base Classes
Name |
Description |
Metafunction representing a compile‐time constant of the specified (template parameter) |
Type Aliases
Name |
Description |
Alias for this |
|
Member Functions
Name |
Description |
Return a copy of the template argument |
|