Public Types

gui2::tconst_duplicator< T, U > Struct Template Reference

Helper struct to get the same constness for T and U. More...

#include <helper.hpp>

List of all members.

Public Types

typedef U type
 The type to use, if T not const U is also not const.

Detailed Description

template<class T, class U>
struct gui2::tconst_duplicator< T, U >

Helper struct to get the same constness for T and U.

Parameters:
T A type to determine the constness.
U Non const type to set the constness off.

Definition at line 170 of file helper.hpp.


Member Typedef Documentation

template<class T, class U>
typedef U gui2::tconst_duplicator< T, U >::type

The type to use, if T not const U is also not const.

Definition at line 173 of file helper.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Sun May 20 2012 01:24:41 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs