~ubuntu-branches/debian/sid/boost1.49/sid

« back to all changes in this revision

Viewing changes to boost/container/detail/workaround.hpp

  • Committer: Package Import Robot
  • Author(s): Steve M. Robbins
  • Date: 2012-02-26 00:31:44 UTC
  • Revision ID: package-import@ubuntu.com-20120226003144-eaytp12cbf6ubpms
Tags: upstream-1.49.0
ImportĀ upstreamĀ versionĀ 1.49.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//////////////////////////////////////////////////////////////////////////////
 
2
//
 
3
// (C) Copyright Ion Gaztanaga 2005-2011. Distributed under the Boost
 
4
// Software License, Version 1.0. (See accompanying file
 
5
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
6
//
 
7
// See http://www.boost.org/libs/container for documentation.
 
8
//
 
9
//////////////////////////////////////////////////////////////////////////////
 
10
 
 
11
#ifndef BOOST_CONTAINER_DETAIL_WORKAROUND_HPP
 
12
#define BOOST_CONTAINER_DETAIL_WORKAROUND_HPP
 
13
 
 
14
#include <boost/container/detail/config_begin.hpp>
 
15
 
 
16
#if    !defined(BOOST_NO_RVALUE_REFERENCES) && !defined(BOOST_NO_VARIADIC_TEMPLATES)\
 
17
    && !defined(BOOST_INTERPROCESS_DISABLE_VARIADIC_TMPL)
 
18
   #define BOOST_CONTAINER_PERFECT_FORWARDING
 
19
#endif
 
20
 
 
21
#if defined(BOOST_NO_NOEXCEPT)
 
22
   #define BOOST_CONTAINER_NOEXCEPT
 
23
   #define BOOST_CONTAINER_NOEXCEPT_IF(x)
 
24
#else
 
25
   #define BOOST_CONTAINER_NOEXCEPT    noexcept
 
26
   #define BOOST_CONTAINER_NOEXCEPT_IF(x) noexcept(x)
 
27
#endif
 
28
 
 
29
#include <boost/container/detail/config_end.hpp>
 
30
 
 
31
#endif   //#ifndef BOOST_CONTAINER_DETAIL_WORKAROUND_HPP