Chris@16
|
1 // (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
|
Chris@16
|
2 // Use, modification, and distribution is subject to the Boost Software
|
Chris@16
|
3 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
4 // http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
5
|
Chris@16
|
6 // See library home page at http://www.boost.org/libs/numeric/conversion
|
Chris@16
|
7 //
|
Chris@16
|
8 // Contact the author at: fernando_cacciola@hotmail.com
|
Chris@16
|
9 //
|
Chris@16
|
10 #ifndef BOOST_NUMERIC_CONVERSION_CONVERSION_TRAITS_FLC_12NOV2002_HPP
|
Chris@16
|
11 #define BOOST_NUMERIC_CONVERSION_CONVERSION_TRAITS_FLC_12NOV2002_HPP
|
Chris@16
|
12
|
Chris@16
|
13 #include "boost/numeric/conversion/detail/conversion_traits.hpp"
|
Chris@16
|
14 #include "boost/detail/workaround.hpp"
|
Chris@16
|
15 #include "boost/config.hpp"
|
Chris@16
|
16
|
Chris@16
|
17 namespace boost { namespace numeric
|
Chris@16
|
18 {
|
Chris@16
|
19
|
Chris@16
|
20 template<class T, class S>
|
Chris@16
|
21 struct conversion_traits
|
Chris@16
|
22 : convdetail::get_conversion_traits<T,S>::type
|
Chris@16
|
23 {
|
Chris@16
|
24 #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
Chris@16
|
25 typedef typename convdetail::get_conversion_traits<T,S>::type base_;
|
Chris@16
|
26 typedef typename base_::target_type target_type;
|
Chris@16
|
27 typedef typename base_::source_type source_type;
|
Chris@16
|
28 typedef typename base_::result_type result_type;
|
Chris@16
|
29 typedef typename base_::argument_type argument_type;
|
Chris@16
|
30 #endif
|
Chris@16
|
31 } ;
|
Chris@16
|
32
|
Chris@16
|
33 } } // namespace boost::numeric
|
Chris@16
|
34
|
Chris@16
|
35 #endif
|
Chris@16
|
36 //
|
Chris@16
|
37 ///////////////////////////////////////////////////////////////////////////////////////////////
|
Chris@16
|
38
|
Chris@16
|
39
|