New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
conversion_traits.hpp in vendors/XIOS/current/extern/boost/include/boost/numeric/conversion – NEMO

source: vendors/XIOS/current/extern/boost/include/boost/numeric/conversion/conversion_traits.hpp @ 3408

Last change on this file since 3408 was 3408, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1//  (c) 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.