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.
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>
| Name | Description |
|---|---|
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> | Metafunction representing a compile-time constant of the specified (template parameter) t_TYPE with the specified (template parameter) t_VALUE. |
| Name | Description |
|---|---|
type | Alias for this integral_constant specialization. |
value_type |
| Name | Description |
|---|---|
operator() | Return a copy of the template argument t_VALUE. |
operator value_type |
| Name |
|---|
value |