All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Valuable::Serializer::Trait< T > Class Template Reference

Trait class for compile time separation of different kinds of serializable objects. More...

#include <Valuable/Serializer.hpp>

Detailed Description

template<typename T>
class Valuable::Serializer::Trait< T >

Trait class for compile time separation of different kinds of serializable objects.

Trait<int>::type == Type::other
Trait<AttributeInt>::type == Type::serializable
Trait<std::list<int> >::type == Type::container
Trait<std::pair<int, int> >::type == Type::pair
Trait<Radiant::IntrusivePtr<T> >::type == Type::smart_ptr