Logo MTL4

mtl::traits::add_const_to_root< T > Struct Template Reference

Add const to data at the root. More...

#include <add_const.hpp>

List of all members.


Detailed Description

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

Add const to data at the root.

In case of pointers, constify data of innermost level and leave other levels as they are. instead of (outer) address. Other types are constified like in boost::add_const.

See also:
add_const_to_data, add_const_to_all

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


mtl::traits::add_const_to_root< T > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Gen. with rev. 7542 on 7 Apr 2011 by doxygen 1.5.9 -- © 2010 by SimuNova UG.