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