Dv::basetype< T > Struct Template Reference
[Retrieve the base component of a type.]

Retrieve the base component of a type. More...

#include <basetype.h>

List of all members.

Public Types

typedef T base

Detailed Description

template<typename T>
struct Dv::basetype< T >

Retrieve the base component of a type.

A class template with specialisation that support th retrieval of the 'base type' of a type, i.e. the type with the qualifiers 'const' '&' removed.

E.g all the types below are 'int'

 basetype<int>::base 
 basetype<const int>::base 
 basetype<int&>::base 
 basetype<const int&>::base 
Warning:
Could be extended to also remove '*'.

Definition at line 39 of file basetype.h.


Member Typedef Documentation

template<typename T>
typedef T Dv::basetype< T >::base

Definition at line 40 of file basetype.h.


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

dvutil-1.0.10 [ 5 December, 2009]