Chris@16: /*============================================================================= Chris@16: Copyright (c) 2001 Doug Gregor Chris@16: Copyright (c) 1999-2003 Jaakko Jarvi Chris@16: Copyright (c) 2001-2011 Joel de Guzman Chris@16: Chris@16: Distributed under the Boost Software License, Version 1.0. (See accompanying Chris@16: file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: ==============================================================================*/ Chris@16: #if !defined(FUSION_IGNORE_07192005_0329) Chris@16: #define FUSION_IGNORE_07192005_0329 Chris@16: Chris@16: namespace boost { namespace fusion Chris@16: { Chris@16: // Swallows any assignment (by Doug Gregor) Chris@16: namespace detail Chris@16: { Chris@16: struct swallow_assign Chris@16: { Chris@16: template Chris@101: BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED Chris@16: swallow_assign const& Chris@16: operator=(const T&) const Chris@16: { Chris@16: return *this; Chris@16: } Chris@16: }; Chris@16: } Chris@16: Chris@16: // "ignore" allows tuple positions to be ignored when using "tie". Chris@101: BOOST_CONSTEXPR detail::swallow_assign const ignore = detail::swallow_assign(); Chris@16: }} Chris@16: Chris@16: #endif