summaryrefslogtreecommitdiff
path: root/boost/fusion/container/generation/ignore.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/container/generation/ignore.hpp')
-rw-r--r--boost/fusion/container/generation/ignore.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/boost/fusion/container/generation/ignore.hpp b/boost/fusion/container/generation/ignore.hpp
index 15ce15d4a1..781966322f 100644
--- a/boost/fusion/container/generation/ignore.hpp
+++ b/boost/fusion/container/generation/ignore.hpp
@@ -9,6 +9,8 @@
#if !defined(FUSION_IGNORE_07192005_0329)
#define FUSION_IGNORE_07192005_0329
+#include <boost/fusion/support/config.hpp>
+
namespace boost { namespace fusion
{
// Swallows any assignment (by Doug Gregor)
@@ -17,7 +19,7 @@ namespace boost { namespace fusion
struct swallow_assign
{
template<typename T>
- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
+ BOOST_FUSION_CONSTEXPR_THIS BOOST_FUSION_GPU_ENABLED
swallow_assign const&
operator=(const T&) const
{
@@ -27,7 +29,7 @@ namespace boost { namespace fusion
}
// "ignore" allows tuple positions to be ignored when using "tie".
- BOOST_CONSTEXPR detail::swallow_assign const ignore = detail::swallow_assign();
+ BOOST_CONSTEXPR_OR_CONST detail::swallow_assign ignore = detail::swallow_assign();
}}
#endif