MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / accept

Function accept

lesson6-Segmentation/json.hpp:23228–23232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected