|  | Home | Libraries | People | FAQ | More | 
template <class T>
struct add_const
{
   typedef see-below type;
};
        type: The same type as T
        const for all T.
      
C++ Standard Reference: 3.9.3.
        Header:  #include
        <boost/type_traits/add_const.hpp>
        or  #include <boost/type_traits.hpp>
      
Table 1.10. Examples
| Expression | Result Type | 
|---|---|
| 
                   | 
                   | 
| 
                   | 
                   | 
| 
                   | 
                   | 
| 
                   | 
                   | 
Compiler Compatibility: All current compilers are supported by this trait.