]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/compute/type_traits/detail/capture_traits.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / compute / type_traits / detail / capture_traits.hpp
1 //---------------------------------------------------------------------------//
2 // Copyright (c) 2013-2014 Kyle Lutz <kyle.r.lutz@gmail.com>
3 //
4 // Distributed under the Boost Software License, Version 1.0
5 // See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt
7 //
8 // See http://boostorg.github.com/compute for more information.
9 //---------------------------------------------------------------------------//
10
11 #ifndef BOOST_COMPUTE_TYPE_TRAITS_DETAIL_CAPTURE_TRAITS_HPP
12 #define BOOST_COMPUTE_TYPE_TRAITS_DETAIL_CAPTURE_TRAITS_HPP
13
14 #include <boost/compute/type_traits/type_name.hpp>
15
16 namespace boost {
17 namespace compute {
18 namespace detail {
19
20 template<class T>
21 struct capture_traits
22 {
23 static std::string type_name()
24 {
25 return ::boost::compute::type_name<T>();
26 }
27 };
28
29 } // end detail namespace
30 } // end compute namespace
31 } // end boost namespace
32
33 #endif // BOOST_COMPUTE_TYPE_TRAITS_DETAIL_CAPTURE_TRAITS_HPP