Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/fusion/container/generation/ignore.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 /*============================================================================= |
Chris@16 | 2 Copyright (c) 2001 Doug Gregor |
Chris@16 | 3 Copyright (c) 1999-2003 Jaakko Jarvi |
Chris@16 | 4 Copyright (c) 2001-2011 Joel de Guzman |
Chris@16 | 5 |
Chris@16 | 6 Distributed under the Boost Software License, Version 1.0. (See accompanying |
Chris@16 | 7 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 8 ==============================================================================*/ |
Chris@16 | 9 #if !defined(FUSION_IGNORE_07192005_0329) |
Chris@16 | 10 #define FUSION_IGNORE_07192005_0329 |
Chris@16 | 11 |
Chris@16 | 12 namespace boost { namespace fusion |
Chris@16 | 13 { |
Chris@16 | 14 // Swallows any assignment (by Doug Gregor) |
Chris@16 | 15 namespace detail |
Chris@16 | 16 { |
Chris@16 | 17 struct swallow_assign |
Chris@16 | 18 { |
Chris@16 | 19 template<typename T> |
Chris@101 | 20 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED |
Chris@16 | 21 swallow_assign const& |
Chris@16 | 22 operator=(const T&) const |
Chris@16 | 23 { |
Chris@16 | 24 return *this; |
Chris@16 | 25 } |
Chris@16 | 26 }; |
Chris@16 | 27 } |
Chris@16 | 28 |
Chris@16 | 29 // "ignore" allows tuple positions to be ignored when using "tie". |
Chris@101 | 30 BOOST_CONSTEXPR detail::swallow_assign const ignore = detail::swallow_assign(); |
Chris@16 | 31 }} |
Chris@16 | 32 |
Chris@16 | 33 #endif |