MCPcopy Create free account
hub / github.com/boostorg/parser / fold

Method fold

include/boost/parser/parser.hpp:1731–1742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1729
1730 private:
1731 void fold()
1732 {
1733 idx_ = 0;
1734 if (it_ == last_) {
1735 folded_[0] = 0;
1736 last_idx_ = 1;
1737 return;
1738 }
1739 auto const folded_last =
1740 detail::case_fold(*it_, folded_.begin());
1741 last_idx_ = int(folded_last - folded_.begin());
1742 }
1743
1744 case_fold_array_t folded_;
1745 I it_;

Callers

nothing calls this directly

Calls 2

case_foldFunction · 0.85
beginMethod · 0.45

Tested by

no test coverage detected