Logo MTL4
mtl::traits::add_const_to_data< T > Struct Template Reference

Add const to data. More...

#include <add_const.hpp>

List of all members.


Detailed Description

template<typename T>
struct mtl::traits::add_const_to_data< T >

Add const to data.

In case of pointers, constify data of first level (even if it is a pointer itself) instead of (outer) address. Other types are constified like in boost::add_const.

See also:
add_const_to_root, add_const_to_all

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


mtl::traits::add_const_to_data< T > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Gen. with rev. 7542 on Sat Aug 11 2012 by doxygen 1.7.6.1 -- © 2010 by SimuNova UG.