bsl::is_trivially_copyable<type_index>

This template specialization for is_trivially_copyable indicates that type_index is a trivially copyable type. Note that this explicit specialization is needed only for C++98/03 compilers, as the C++11 trait will implicitly deduce triviality.

Synopsis

Declared in <bslstl_typeindex.h>

template<>
struct is_trivially_copyable<type_index>
    : true_type

Base Classes

NameDescription
true_typeMetafunction representing the boolean constant true.