Instigate Open Source Documentation

instigate::scripting::generic::type_traits< T > Struct Template Reference

Defines associated types for given type. More...

#include <type_traits.hpp>

List of all members.

Public Types

typedef T & reference_type
typedef const T & const_reference_type
typedef T value_type
typedef const T const_value_type
typedef T * pointer_type
typedef const T * const_pointer_type

Detailed Description

template<typename T>
struct instigate::scripting::generic::type_traits< T >

Defines associated types for given type.

This class contains nothing more than nested typedefs. May be used to get associated type (const reference type, pointer type, etc.) from given type.

Todo:
add predicates (static const bool members) for is_function, is_array, is_pointer, is_reference, is_method, etc.

The documentation for this struct was generated from the following file:


© Instigate CJSC, Open Source