MCPcopy Create free account
hub / github.com/boostorg/json / make_options

Function make_options

test/basic_parser.cpp:150–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150parse_options
151make_options(
152 bool comments,
153 bool commas,
154 bool utf8,
155 bool allow_special_numbers)
156{
157 parse_options opt;
158 opt.allow_comments = comments;
159 opt.allow_trailing_commas = commas;
160 opt.allow_invalid_utf8 = utf8;
161 opt.allow_infinity_and_nan = allow_special_numbers;
162 return opt;
163}
164
165template< template< class... > class L, class... Bools >
166parse_options

Callers 3

operator()Method · 0.85
comment_parserMethod · 0.85
literal_parserMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected