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

Function find_line_end

include/boost/parser/error_handling.hpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 found. */
61 template<typename Iter, typename Sentinel>
62 Iter find_line_end(Iter it, Sentinel last)
63 {
64 return parser::detail::text::find_if(it, last, [](auto c) {
65 return (c & detail::eol_cp_mask) == c &&
66 std::find(
67 detail::eol_cps.begin(), detail::eol_cps.end(), c) !=
68 detail::eol_cps.end();
69 });
70 }
71
72 template<typename Iter, typename Sentinel>
73 std::ostream & write_formatted_message(

Callers 1

error_handling.hppFile · 0.85

Calls 4

find_ifFunction · 0.85
findFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected