123456789101112131415161718192021222324252627282930313233 |
- #ifndef BOOST_LOCAL_FUNCTION_AUX_ADD_POINTED_CONST_HPP_
- #define BOOST_LOCAL_FUNCTION_AUX_ADD_POINTED_CONST_HPP_
- namespace boost { namespace local_function { namespace aux {
- template<typename T> struct add_pointed_const { typedef T type; };
- template<typename T> struct add_pointed_const<T*> { typedef T const* type; };
- template<typename T> struct add_pointed_const<T const*>
- { typedef T const* type; };
- template<typename T> struct add_pointed_const<T* const>
- { typedef T const* const type; };
- template<typename T> struct add_pointed_const<T const* const>
- { typedef T const* const type; };
- } } }
- #endif
|