/*============================================================================= Copyright (c) 2011-2017 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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) =============================================================================*/ #ifndef SPROUT_TUPLE_TUPLE_IGNORE_HPP #define SPROUT_TUPLE_TUPLE_IGNORE_HPP #include namespace sprout { namespace tuples { // // ignore_t // struct ignore_t { public: template SPROUT_CXX14_CONSTEXPR ignore_t const& operator=(T const&) const { return *this; } }; // // ignore // SPROUT_STATIC_CONSTEXPR ignore_t ignore = {}; } // namespace tuples using sprout::tuples::ignore_t; using sprout::tuples::ignore; } // namespace sprout #endif // #ifndef SPROUT_TUPLE_TUPLE_IGNORE_HPP