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

Function repeat

include/boost/parser/parser.hpp:6616–6619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6614 given parser of type `parser_interface<P>`. */
6615 template<typename T>
6616 constexpr repeat_directive<T, T> repeat(T n) noexcept
6617 {
6618 return repeat_directive<T, T>{n, n};
6619 }
6620
6621 /** Returns a `repeat_directive` that repeats exactly `n` times, where the
6622 items parsed are delimited by `DelimiterParser`. The value returned

Callers 6

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected