~ubuntu-branches/ubuntu/oneiric/bombono-dvd/oneiric

« back to all changes in this revision

Viewing changes to libs/boost-lib/boost/numeric/conversion/conversion_traits.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101104114625-2tfaxma74eqggp5r
Tags: 0.8.0-0ubuntu1
* New upstream release (LP: #670193).
* Refresh 02_sparc.diff patch.
* Replace 05-boost_filesystem-link.patch with 05-fix_boost.patch, it fixes
  build failure with Boost <= 1.44.
* Bump Standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
17
namespace boost { namespace numeric
 
18
{
 
19
 
 
20
template<class T, class S>
 
21
struct 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