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