annotate DEPENDENCIES/generic/include/boost/xpressive/detail/utility/dont_care.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 2665513ce2d3
children
rev   line source
Chris@16 1 ///////////////////////////////////////////////////////////////////////////////
Chris@16 2 // dont_care.hpp
Chris@16 3 //
Chris@16 4 // Copyright 2008 Eric Niebler. Distributed under the Boost
Chris@16 5 // Software License, Version 1.0. (See accompanying file
Chris@16 6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 7
Chris@16 8 #ifndef BOOST_XPRESSIVE_DETAIL_UTILITY_DONT_CARE_HPP_EAN_10_04_2005
Chris@16 9 #define BOOST_XPRESSIVE_DETAIL_UTILITY_DONT_CARE_HPP_EAN_10_04_2005
Chris@16 10
Chris@16 11 namespace boost { namespace xpressive { namespace detail
Chris@16 12 {
Chris@16 13 ///////////////////////////////////////////////////////////////////////////////
Chris@16 14 // for function arguments we don't care about
Chris@16 15 struct dont_care
Chris@16 16 {
Chris@16 17 dont_care() {}
Chris@16 18
Chris@16 19 template<typename T>
Chris@16 20 dont_care(T const &) {}
Chris@16 21 };
Chris@16 22
Chris@16 23 }}}
Chris@16 24
Chris@16 25 #endif