Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/xpressive/detail/core/matcher/true_matcher.hpp @ 132:540eca98552e
Update qm-vamp-plugins metadata
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:06:51 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 /////////////////////////////////////////////////////////////////////////////// |
Chris@16 | 2 // true_matcher.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_CORE_MATCHER_TRUE_MATCHER_HPP_EAN_10_04_2005 |
Chris@16 | 9 #define BOOST_XPRESSIVE_DETAIL_CORE_MATCHER_TRUE_MATCHER_HPP_EAN_10_04_2005 |
Chris@16 | 10 |
Chris@16 | 11 // MS compatible compilers support #pragma once |
Chris@101 | 12 #if defined(_MSC_VER) |
Chris@16 | 13 # pragma once |
Chris@16 | 14 #endif |
Chris@16 | 15 |
Chris@16 | 16 #include <boost/xpressive/detail/detail_fwd.hpp> |
Chris@16 | 17 #include <boost/xpressive/detail/core/quant_style.hpp> |
Chris@16 | 18 #include <boost/xpressive/detail/core/state.hpp> |
Chris@16 | 19 |
Chris@16 | 20 namespace boost { namespace xpressive { namespace detail |
Chris@16 | 21 { |
Chris@16 | 22 |
Chris@16 | 23 /////////////////////////////////////////////////////////////////////////////// |
Chris@16 | 24 // true_matcher |
Chris@16 | 25 // |
Chris@16 | 26 struct true_matcher |
Chris@16 | 27 : quant_style_assertion |
Chris@16 | 28 { |
Chris@16 | 29 template<typename BidiIter, typename Next> |
Chris@16 | 30 static bool match(match_state<BidiIter> &, Next const &) |
Chris@16 | 31 { |
Chris@16 | 32 return true; |
Chris@16 | 33 } |
Chris@16 | 34 }; |
Chris@16 | 35 |
Chris@16 | 36 }}} |
Chris@16 | 37 |
Chris@16 | 38 #endif |