Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/xpressive/detail/core/icase.hpp @ 132:540eca98552e
Update qm-vamp-plugins metadata
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:06:51 +0100 |
parents | 2665513ce2d3 |
children |
rev | line source |
---|---|
Chris@16 | 1 /////////////////////////////////////////////////////////////////////////////// |
Chris@16 | 2 // icase.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_ICASE_HPP_EAN_10_04_2005 |
Chris@16 | 9 #define BOOST_XPRESSIVE_DETAIL_CORE_ICASE_HPP_EAN_10_04_2005 |
Chris@16 | 10 |
Chris@16 | 11 #include <boost/xpressive/detail/detail_fwd.hpp> |
Chris@16 | 12 #include <boost/xpressive/regex_constants.hpp> |
Chris@16 | 13 #include <boost/xpressive/detail/static/modifier.hpp> |
Chris@16 | 14 #include <boost/xpressive/detail/core/linker.hpp> |
Chris@16 | 15 #include <boost/xpressive/detail/utility/ignore_unused.hpp> |
Chris@16 | 16 |
Chris@16 | 17 namespace boost { namespace xpressive { namespace regex_constants |
Chris@16 | 18 { |
Chris@16 | 19 |
Chris@16 | 20 /////////////////////////////////////////////////////////////////////////////// |
Chris@16 | 21 /// \brief Makes a sub-expression case-insensitive. |
Chris@16 | 22 /// |
Chris@16 | 23 /// Use icase() to make a sub-expression case-insensitive. For instance, |
Chris@16 | 24 /// "foo" >> icase(set['b'] >> "ar") will match "foo" exactly followed by |
Chris@16 | 25 /// "bar" irrespective of case. |
Chris@16 | 26 detail::modifier_op<detail::icase_modifier> const icase = {{}, regex_constants::icase_}; |
Chris@16 | 27 |
Chris@16 | 28 } // namespace regex_constants |
Chris@16 | 29 |
Chris@16 | 30 using regex_constants::icase; |
Chris@16 | 31 |
Chris@16 | 32 namespace detail |
Chris@16 | 33 { |
Chris@16 | 34 inline void ignore_unused_icase() |
Chris@16 | 35 { |
Chris@16 | 36 detail::ignore_unused(icase); |
Chris@16 | 37 } |
Chris@16 | 38 } |
Chris@16 | 39 |
Chris@16 | 40 }} // namespace boost::xpressive |
Chris@16 | 41 |
Chris@16 | 42 #endif |