23 #ifndef VARIANT_TOPIC_TOOLS_ARRAY_TYPE_TRAITS_H 24 #define VARIANT_TOPIC_TOOLS_ARRAY_TYPE_TRAITS_H 28 #include <boost/array.hpp> 29 #include <boost/type_traits.hpp> 35 namespace type_traits {
37 public boost::false_type {
40 template <
typename T>
struct IsArray<T[]> :
41 public boost::true_type {
44 template <
typename T,
size_t N>
struct IsArray<T[N]> :
45 public boost::true_type {
48 template <
size_t N>
struct IsArray<char[N]> :
49 public boost::false_type {
66 static const size_t NumMembers = 0;
72 template <
typename T,
size_t N>
struct ArrayType<T[N]> {
76 static const size_t NumMembers = N;
Header file providing the built-in type traits.
Header file providing the message type traits.