copy_cv.hpp
Go to the documentation of this file.
1 #ifndef BOOST_TYPE_TRAITS_COPY_CV_HPP_INCLUDED
2 #define BOOST_TYPE_TRAITS_COPY_CV_HPP_INCLUDED
3 
4 //
5 // Copyright 2015 Peter Dimov
6 //
7 // Distributed under the Boost Software License, Version 1.0.
8 // See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt
10 //
11 
17 
18 namespace boost
19 {
20 
21 template<class T, class U> struct copy_cv
22 {
23 private:
24 
26 
27 public:
28 
30 };
31 
32 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
33 
34  template <class T, class U> using copy_cv_t = typename copy_cv<T, U>::type;
35 
36 #endif
37 
38 } // namespace boost
39 
40 #endif // #ifndef BOOST_TYPE_TRAITS_COPY_CV_HPP_INCLUDED
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::conditional< boost::is_const< U >::value, typename boost::add_const< T >::type, T >::type CT
Definition: copy_cv.hpp:25
typename copy_cv< T, U >::type copy_cv_t
Definition: copy_cv.hpp:34
boost::conditional< boost::is_volatile< U >::value, typename boost::add_volatile< CT >::type, CT >::type type
Definition: copy_cv.hpp:29


librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Thu Dec 22 2022 03:43:16