|
|
|||
File indexing completed on 2025-12-16 09:47:51
0001 /*============================================================================= 0002 Copyright (c) 2001 Doug Gregor 0003 Copyright (c) 1999-2003 Jaakko Jarvi 0004 Copyright (c) 2001-2011 Joel de Guzman 0005 0006 Distributed under the Boost Software License, Version 1.0. (See accompanying 0007 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0008 ==============================================================================*/ 0009 #if !defined(FUSION_IGNORE_07192005_0329) 0010 #define FUSION_IGNORE_07192005_0329 0011 0012 #include <boost/fusion/support/config.hpp> 0013 0014 namespace boost { namespace fusion 0015 { 0016 // Swallows any assignment (by Doug Gregor) 0017 namespace detail 0018 { 0019 struct swallow_assign 0020 { 0021 template<typename T> 0022 BOOST_FUSION_CONSTEXPR_THIS BOOST_FUSION_GPU_ENABLED 0023 swallow_assign const& 0024 operator=(const T&) const 0025 { 0026 return *this; 0027 } 0028 }; 0029 } 0030 0031 // "ignore" allows tuple positions to be ignored when using "tie". 0032 BOOST_CONSTEXPR_OR_CONST detail::swallow_assign ignore = detail::swallow_assign(); 0033 }} 0034 0035 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|