Back to index

nux  3.0.0
Classes
nux::type Namespace Reference

Classes

struct  PropertyTrait
 Here we want to have only explict type support, to avoid someone using the system with something we haven't though of and getting upset when if it doesn't work properly. More...
struct  serializable_impl
 The serializable_impl template has different signatures than the standard Serializable traits class to avoid the generalised template being used as a traits type when we really don't want it being used in that way, but we do want a generalized implementation for the types we do care about. More...
struct  PropertyTrait< ENUM, true >
struct  PropertyTrait< int >
struct  PropertyTrait< unsigned >
struct  PropertyTrait< float >
struct  PropertyTrait< double >
struct  PropertyTrait< bool >
struct  PropertyTrait< std::string >

Class Documentation

struct nux::type::PropertyTrait

template<typename T, bool = boost::is_enum<T>::value>
struct nux::type::PropertyTrait< T, bool >

Here we want to have only explict type support, to avoid someone using the system with something we haven't though of and getting upset when if it doesn't work properly.

Definition at line 47 of file PropertyTraits.h.