| 328 | Reader::Reader(const Features& features) : features_(features) {} |
| 329 | |
| 330 | bool Reader::parse(const std::string& document, Value& root, |
| 331 | bool collectComments) { |
| 332 | document_.assign(document.begin(), document.end()); |
| 333 | const char* begin = document_.c_str(); |
| 334 | const char* end = begin + document_.length(); |
| 335 | return parse(begin, end, root, collectComments); |
| 336 | } |
| 337 | |
| 338 | bool Reader::parse(std::istream& is, Value& root, bool collectComments) { |
| 339 | // std::istream_iterator<char> begin(is); |
no test coverage detected