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

Function if_

include/boost/parser/parser.hpp:8631–8634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8629 `if_(pred)[p]`, `p` is only applied if `pred` is true. */
8630 template<typename Predicate>
8631 constexpr auto if_(Predicate pred) noexcept
8632 {
8633 return if_directive<Predicate>{pred};
8634 }
8635
8636 namespace detail {
8637 template<typename SwitchValue, typename Value>

Callers 5

mainFunction · 0.85
mainFunction · 0.85
compile_attributeFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected