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

Method call

include/boost/parser/parser.hpp:4963–4983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4961 typename Context,
4962 typename SkipParser>
4963 auto call(
4964 Iter & first,
4965 Sentinel last,
4966 Context const & context,
4967 SkipParser const & skip,
4968 detail::flags flags,
4969 bool & success) const
4970 {
4971 auto r =
4972 parser::detail::text::unpack_iterator_and_sentinel(first, last);
4973 static_assert(
4974 std::contiguous_iterator<decltype(r.first)>,
4975 "string_view_parser and the string_view[] directive that uses "
4976 "it requires that the underlying char sequence being parsed be "
4977 "a contiguous range. If you're seeing this static_assert, you "
4978 "have not met this contract.");
4979 using char_type = detail::remove_cv_ref_t<decltype(*r.first)>;
4980 std::basic_string_view<char_type> retval;
4981 call(first, last, context, skip, flags, success, retval);
4982 return retval;
4983 }
4984
4985 template<
4986 typename Iter,

Callers

nothing calls this directly

Calls 5

callFunction · 0.85
scoped_traceFunction · 0.85
assignFunction · 0.85
callMethod · 0.45

Tested by

no test coverage detected