2 Copyright 2007 John Maddock.
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt).
8 [section:add_const add_const]
16 __type The same type as `T const` for all `T`.
20 __header ` #include <boost/type_traits/add_const.hpp>` or ` #include <boost/type_traits.hpp>`
24 [ [Expression] [Result Type]]
26 [[`add_const<int>::type`][`int const`]]
28 [[`add_const<int&>::type`] [`int&`]]
30 [[`add_const<int*>::type`] [`int* const`]]
32 [[`add_const<int const>::type`] [`int const`]]