MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / accept

Function accept

Source/Utils/json.hpp:23227–23231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23225 */
23226 template<typename InputType>
23227 static bool accept(InputType&& i,
23228 const bool ignore_comments = false)
23229 {
23230 return parser(detail::input_adapter(std::forward<InputType>(i)), nullptr, false, ignore_comments).accept(true);
23231 }
23232
23233 template<typename IteratorType>
23234 static bool accept(IteratorType first, IteratorType last,

Callers 2

Calls 4

input_adapterFunction · 0.85
acceptMethod · 0.80
parserFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected