is_complex.hpp
Go to the documentation of this file.
1 // (C) Copyright John Maddock 2007.
2 // Use, modification and distribution are subject to the Boost Software License,
3 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt).
5 //
6 // See http://www.boost.org/libs/type_traits for most recent version including documentation.
7 
8 #ifndef BOOST_TT_IS_COMPLEX_HPP
9 #define BOOST_TT_IS_COMPLEX_HPP
10 
11 #include <complex>
13 
14 namespace boost {
15 
16  template <class T> struct is_complex : public false_type {};
17  template <class T> struct is_complex<const T > : public is_complex<T>{};
18  template <class T> struct is_complex<volatile const T > : public is_complex<T>{};
19  template <class T> struct is_complex<volatile T > : public is_complex<T>{};
20  template <class T> struct is_complex<std::complex<T> > : public true_type{};
21 
22 } // namespace boost
23 
24 #endif //BOOST_TT_IS_COMPLEX_HPP
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:17