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

Function has_attribute

include/boost/parser/parser.hpp:9984–9990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9982
9983 template<typename Iter, typename Sentinel, typename Parser>
9984 auto has_attribute(Iter first, Sentinel last, Parser parser)
9985 {
9986 using attr_t = typename attribute_impl<
9987 BOOST_PARSER_SUBRANGE<Iter, Sentinel>,
9988 Parser>::type;
9989 return std::integral_constant<bool, !is_nope_v<attr_t>>{};
9990 }
9991
9992 template<typename T>
9993 constexpr wrapper<T> attr_wrapped_final;

Callers 2

parser.hppFile · 0.85
prefix_parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected