epoc32/include/stdapis/boost/numeric/conversion/conversion_traits.hpp
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/stdapis/boost/numeric/conversion/conversion_traits.hpp	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/stdapis/boost/numeric/conversion/conversion_traits.hpp	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,17 +1,39 @@
     1.4 +//  © Copyright Fernando Luis Cacciola Carballal 2000-2004
     1.5 +//  Use, modification, and distribution is subject to the Boost Software
     1.6 +//  License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
     1.7 +//  http://www.boost.org/LICENSE_1_0.txt)
     1.8  
     1.9 -// Copyright 2000 John Maddock (john@johnmaddock.co.uk)
    1.10 -// Copyright 2000 Jeremy Siek (jsiek@lsc.nd.edu)
    1.11 -// Copyright 1999, 2000 Jaakko J„rvi (jaakko.jarvi@cs.utu.fi)
    1.12 +//  See library home page at http://www.boost.org/libs/numeric/conversion
    1.13  //
    1.14 -//  Use, modification and distribution are subject to the Boost Software License,
    1.15 -//  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
    1.16 -//  http://www.boost.org/LICENSE_1_0.txt).
    1.17 +// Contact the author at: fernando_cacciola@hotmail.com
    1.18 +// 
    1.19 +#ifndef BOOST_NUMERIC_CONVERSION_CONVERSION_TRAITS_FLC_12NOV2002_HPP
    1.20 +#define BOOST_NUMERIC_CONVERSION_CONVERSION_TRAITS_FLC_12NOV2002_HPP
    1.21 +
    1.22 +#include "boost/numeric/conversion/detail/conversion_traits.hpp"
    1.23 +#include "boost/detail/workaround.hpp"
    1.24 +#include "boost/config.hpp"
    1.25 +
    1.26 +namespace boost { namespace numeric
    1.27 +{
    1.28 +
    1.29 +template<class T, class S>
    1.30 +struct conversion_traits 
    1.31 +    : convdetail::get_conversion_traits<T,S>::type 
    1.32 +{
    1.33 +#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
    1.34 +    typedef typename convdetail::get_conversion_traits<T,S>::type base_;
    1.35 +    typedef typename base_::target_type     target_type;
    1.36 +    typedef typename base_::source_type     source_type;
    1.37 +    typedef typename base_::result_type     result_type;
    1.38 +    typedef typename base_::argument_type   argument_type;
    1.39 +#endif
    1.40 +} ;
    1.41 +
    1.42 +} } // namespace boost::numeric
    1.43 +
    1.44 +#endif
    1.45  //
    1.46 -//  See http://www.boost.org/libs/type_traits for most recent version including documentation.
    1.47 +///////////////////////////////////////////////////////////////////////////////////////////////
    1.48  
    1.49 -#ifndef BOOST_TT_CONVERSION_TRAITS_HPP_INCLUDED
    1.50 -#define BOOST_TT_CONVERSION_TRAITS_HPP_INCLUDED
    1.51  
    1.52 -#include <boost/type_traits/is_convertible.hpp>
    1.53 -
    1.54 -#endif // BOOST_TT_CONVERSION_TRAITS_HPP_INCLUDED