| 264 | } |
| 265 | |
| 266 | bool Reader::parse(const std::string& document, Value& root, bool collectComments) { |
| 267 | document_ = document; |
| 268 | const char* begin = document_.c_str(); |
| 269 | const char* end = begin + document_.length(); |
| 270 | return parse(begin, end, root, collectComments); |
| 271 | } |
| 272 | |
| 273 | bool Reader::parse(std::istream& sin, Value& root, bool collectComments) { |
| 274 | // std::istream_iterator<char> begin(sin); |
no test coverage detected