35 using std::string_view;
41 : std::sregex_iterator
46 : std::sregex_iterator{toParse.begin(), toParse.end(), regex}
49 : std::sregex_iterator{string::const_iterator{toParse.begin()}
50 ,string::const_iterator{toParse.end()}, regex}
53 operator bool()
const {
return isValid(); }
55 bool isValid ()
const {
return (*this)->ready() and not (*this)->empty(); }
56 bool empty ()
const {
return not isValid(); }
58 LIFT_PARENT_INCREMENT_OPERATOR (std::sregex_iterator);
Helper template(s) for creating Lumiera Forward Iterators.
Implementation namespace for support and library code.
wrapped regex iterator to allow usage in foreach loops