| 148 | } |
| 149 | |
| 150 | parse_options |
| 151 | make_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 | |
| 165 | template< template< class... > class L, class... Bools > |
| 166 | parse_options |
no outgoing calls
no test coverage detected