summaryrefslogtreecommitdiff
path: root/boost/move/detail/workaround.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/move/detail/workaround.hpp')
-rw-r--r--boost/move/detail/workaround.hpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/boost/move/detail/workaround.hpp b/boost/move/detail/workaround.hpp
new file mode 100644
index 0000000000..1bf879cbbc
--- /dev/null
+++ b/boost/move/detail/workaround.hpp
@@ -0,0 +1,26 @@
+//////////////////////////////////////////////////////////////////////////////
+//
+// (C) Copyright Ion Gaztanaga 2014-2014. Distributed under the Boost
+// Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+// See http://www.boost.org/libs/interprocess for documentation.
+//
+//////////////////////////////////////////////////////////////////////////////
+
+#ifndef BOOST_MOVE_DETAIL_WORKAROUND_HPP
+#define BOOST_MOVE_DETAIL_WORKAROUND_HPP
+
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
+ #define BOOST_MOVE_PERFECT_FORWARDING
+#endif
+
+//Macros for documentation purposes. For code, expands to the argument
+#define BOOST_MOVE_IMPDEF(TYPE) TYPE
+#define BOOST_MOVE_SEEDOC(TYPE) TYPE
+#define BOOST_MOVE_DOC0PTR(TYPE) TYPE
+#define BOOST_MOVE_DOC1ST(TYPE1, TYPE2) TYPE2
+#define BOOST_MOVE_I ,
+#define BOOST_MOVE_DOCIGN(T1) T1
+
+#endif //#ifndef BOOST_MOVE_DETAIL_WORKAROUND_HPP