blob: e8d77c084d3bf407d9b98882cc1d19c6a1ac16b3 [file] [log] [blame]
Jeff Thompsona28eed82013-08-22 16:21:10 -07001//////////////////////////////////////////////////////////////////////////////
2//
3// (C) Copyright Ion Gaztanaga 2005-2012. 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 <ndnboost/container/detail/config_begin.hpp>
15
16#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)\
17 && !defined(BOOST_INTERPROCESS_DISABLE_VARIADIC_TMPL)
18 #define BOOST_CONTAINER_PERFECT_FORWARDING
19#endif
20
21#if defined(BOOST_NO_CXX11_NOEXCEPT)
22 #if defined(BOOST_MSVC)
23 #define BOOST_CONTAINER_NOEXCEPT throw()
24 #else
25 #define BOOST_CONTAINER_NOEXCEPT
26 #endif
27 #define BOOST_CONTAINER_NOEXCEPT_IF(x)
28#else
29 #define BOOST_CONTAINER_NOEXCEPT noexcept
30 #define BOOST_CONTAINER_NOEXCEPT_IF(x) noexcept(x)
31#endif
32
33#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && defined(__GXX_EXPERIMENTAL_CXX0X__)\
34 && (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__ < 40700)
35 #define BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST
36#endif
37
38//Macros for documentation purposes. For code, expands to the argument
39#define BOOST_CONTAINER_IMPDEF(TYPE) TYPE
40#define BOOST_CONTAINER_SEEDOC(TYPE) TYPE
41
42#include <ndnboost/container/detail/config_end.hpp>
43
44#endif //#ifndef BOOST_CONTAINER_DETAIL_WORKAROUND_HPP