ArrayTypes< T > Class Template Reference

Defines types for arrays. More...

#include <ArrayTypes.h>

List of all members.

Public Types

typedef T value_type
 The element type, T, of the array.
typedef Loki::TypeTraits
< value_type >::ParameterType 
parameter_type
 The parameter type.
typedef Loki::TypeTraits
< value_type >
::UnqualifiedType 
unqualified_value_type
 The unqualified value type.
typedef value_typepointer
 A pointer to an array element.
typedef const value_typeconst_pointer
 A pointer to a constant array element.
typedef value_typeiterator
 An iterator in the array.
typedef const value_typeconst_iterator
 A iterator on constant elements in the array.
typedef value_typereference
 A reference to an array element.
typedef const value_typeconst_reference
 A reference to a constant array element.
typedef int size_type
 The size type is a signed integer.
typedef std::ptrdiff_t difference_type
 Pointer difference type.

Detailed Description

template<typename T>
class ArrayTypes< T >

Defines types for arrays.


Member Typedef Documentation

template<typename T >
typedef Loki::TypeTraits<value_type>::ParameterType ArrayTypes< T >::parameter_type

The parameter type.

This is used for passing the value type as an argument.

template<typename T >
typedef int ArrayTypes< T >::size_type

The size type is a signed integer.

Having std::size_t (which is an unsigned integer) as the size type causes minor problems. Consult "Large Scale C++ Software Design" by John Lakos for a discussion of using unsigned integers in a class interface.

template<typename T >
typedef Loki::TypeTraits<value_type>::UnqualifiedType ArrayTypes< T >::unqualified_value_type

The unqualified value type.

The value type with top level const and volatile qualifiers removed.


The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:51 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3