Template Meta-programming Library
[Libraries]


Detailed Description

Created: 2nd July 2006 Updated: 14th January 2007.

This library provides .


Modules

 N-types
 These types are used for making decisions at compile-time.

Classes

struct  add_const
 Adds const qualifier to a type. More...
struct  add_volatile
 Adds volatile qualifier to a type. More...
struct  add_const_ref
 Adds const& qualifier to a type. More...
struct  add_volatile_ref
 Adds volatile& qualifier to a type. More...
struct  base_type_traits
 Deduces the base type. More...
struct  has_const_iterator
 traits type used to determine whether a given type has a member const_iterator More...
struct  has_const_pointer
 traits type used to determine whether a given type has a member const_pointer More...
struct  has_const_reference
 traits type used to determine whether a given type has a member const_reference More...
struct  has_difference_type
 traits type used to determine whether a given type has a member difference_type More...
struct  has_distance_type
 traits type used to determine whether a given type has a member distance_type More...
struct  has_iterator
 traits type used to determine whether a given type has a member iterator More...
struct  has_iterator_category
 traits type used to determine whether a given type has a member iterator_category More...
struct  has_key_type
 traits type used to determine whether a given type has a member key_type More...
struct  has_mapped_type
 traits type used to determine whether a given type has a member mapped_type More...
struct  has_pointer
 traits type used to determine whether a given type has a member pointer More...
struct  has_pointer_type
 traits type used to determine whether a given type has a member pointer_type More...
struct  has_reference_type
 traits type used to determine whether a given type has a member reference_type More...
struct  has_referent_type
 traits type used to determine whether a given type has a member referent_type More...
struct  has_value_type
 traits type used to determine whether a given type has a member value_type More...
struct  is_array_type
 traits type used to determine whether the given type is an array More...
struct  is_bool_type
 Traits type used to determine whether the given type is bool. More...
struct  is_character_type
 Traits type used to determine whether the given type is a character type (i.e. More...
struct  is_char_type
 Obsolete form of is_character_type. More...
struct  is_class_type
 Traits type used to determine whether the given type is of class type. More...
struct  is_compound_type
 Traits type used to determine whether the given type is a compound type. More...
struct  is_const_type
 Traits type used to determine whether the given type is const. More...
struct  is_floating_point_type
 Traits type used to determine whether the given type is floating point. More...
struct  is_function_pointer_type
 Traits type used to determine whether the given type is a function pointer. More...
struct  is_fundamental_type
 Traits type used to determine whether the given type is a fundamental type. More...
struct  is_integral_type
 Traits type used to determine whether the given type is an integral type. More...
struct  is_numeric_type
 Traits type used to determine whether the given type is a numeric type. More...
struct  is_pointer_type
 Traits type used to determine whether the given type is a pointer. More...
struct  is_same_type
 Traits type used to determine whether two types are the same type. More...
struct  is_signed_type
 Traits type used to determine whether the given type is a signed type. More...
struct  is_void_type
 Traits type used to determine whether the given type is void. More...
struct  is_volatile_type
 Traits type used to determine whether the given type is volatile. More...
struct  make_value_type
 Defines a type with a value_type member type. More...
struct  member_traits
 A structure that can be used to report whether various well-known facets of a type are supported. More...
struct  size_type
 This template is used to synthesise types with specific sizes. More...
struct  select_first_type_if
 Compile-time if component. More...
struct  size_of
 Provides the sizeof the type, and works with void (for which it provides the value 0). More...
struct  fixer_difference_type
 Type-fixer for difference_type member type. More...
struct  fixer_iterator
 Type-fixer for iterator member type. More...
struct  fixer_const_iterator
 Type-fixer for const_iterator member type. More...
struct  fixer_mapped_type
 Type-fixer for mapped_type member type. More...
struct  fixer_pointer
 Type-fixer for pointer member type. More...
struct  fixer_const_pointer
 Type-fixer for const_pointer member type. More...
struct  fixer_pointer_type
 Type-fixer for pointer_type member type. More...
struct  fixer_const_pointer_type
 Type-fixer for const_pointer_type member type. More...
struct  fixer_reference
 Type-fixer for reference member type. More...
struct  fixer_const_reference
 Type-fixer for const_reference member type. More...
struct  fixer_reference_type
 Type-fixer for reference_type member type. More...
struct  fixer_const_reference_type
 Type-fixer for const_reference_type member type. More...
struct  fixer_referent_type
 Type-fixer for referent_type member type. More...
struct  int_to_type
 Converts compile time constants to type. More...
struct  yes_type
 Meta boolean 'yes' type, which acts as a complement to the no_type. More...
struct  no_type
 Meta boolean 'no' type, which acts as a complement to the yes_type. More...
struct  value_to_yesno_type
 A type which translates a boolean (integral zero / non-zero) value into the appropriate type (no_type / yes_type). More...

Defines

#define STLSOFT_META_HAS_IS_SAME_TYPE
 If defined, this indicates that the stlsoft::is_same_type is supported and stlsoft/meta/is_same_type.hpp can be included.
#define STLSOFT_META_HAS_SELECT_FIRST_TYPE_IF
 If defined, this indicates that the stlsoft::select_first_type_if is supported and stlsoft/meta/select_first_type_if.hpp can be included.
#define STLSOFT_META_HAS_MEMBER_TYPE_DETECTION
 If defined, this indicates that the member type detection is supported.

Functions

template<typename U>
one_t is_pointer_type_func (U const volatile *)
 Tests whether a type is a pointer type.


Define Documentation

#define STLSOFT_META_HAS_IS_SAME_TYPE

If defined, this indicates that the stlsoft::is_same_type is supported and stlsoft/meta/is_same_type.hpp can be included.

#define STLSOFT_META_HAS_MEMBER_TYPE_DETECTION

If defined, this indicates that the member type detection is supported.

#define STLSOFT_META_HAS_SELECT_FIRST_TYPE_IF

If defined, this indicates that the stlsoft::select_first_type_if is supported and stlsoft/meta/select_first_type_if.hpp can be included.


Function Documentation

one_t stlsoft::is_pointer_type_func ( U const volatile *   )  [inline]

Tests whether a type is a pointer type.


Generated on Thu Jun 10 08:58:18 2010 for STLSoft by  doxygen 1.5.6