source: NonGTP/Boost/boost/numeric/conversion/conversion_traits.hpp @ 857

Revision 857, 1.3 KB checked in by igarcia, 19 years ago (diff)
Line 
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)
5
6//  See library home page at http://www.boost.org/libs/numeric/conversion
7//
8// Contact the author at: fernando_cacciola@hotmail.com
9//
10#ifndef BOOST_NUMERIC_CONVERSION_CONVERSION_TRAITS_FLC_12NOV2002_HPP
11#define BOOST_NUMERIC_CONVERSION_CONVERSION_TRAITS_FLC_12NOV2002_HPP
12
13#include "boost/numeric/conversion/detail/conversion_traits.hpp"
14#include "boost/detail/workaround.hpp"
15#include "boost/config.hpp"
16
17namespace boost { namespace numeric
18{
19
20template<class T, class S>
21struct conversion_traits
22    : convdetail::get_conversion_traits<T,S>::type
23{
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;
30#endif
31} ;
32
33} } // namespace boost::numeric
34
35#endif
36//
37///////////////////////////////////////////////////////////////////////////////////////////////
38
39
Note: See TracBrowser for help on using the repository browser.