2 Copyright 2015 Peter Dimov.
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:copy_cv copy_cv]
10 template <class T, class U>
16 __type [^T /cv/], where /cv/ are the cv-qualifiers of `U`.
18 __header ` #include <boost/type_traits/copy_cv.hpp>` or ` #include <boost/type_traits.hpp>`
22 [ [Expression] [Result Type]]
24 [[`copy_cv<int, void>::type`][`int`]]
26 [[`copy_cv<int const, void>::type`][`int const`]]
28 [[`copy_cv<int, void const>::type`][`int const`]]
30 [[`copy_cv<int volatile, void const>::type`][`int const volatile`]]
32 [[`copy_cv<int&, void const>::type`] [`int&`]]
34 [[`copy_cv<int*, void volatile>::type`] [`int* volatile`]]