add splitter, update converter and parser, update unit tests

This commit is contained in:
ado
2021-01-17 00:46:05 +01:00
parent cd264faa70
commit 69d6df12be
6 changed files with 478 additions and 273 deletions

View File

@@ -250,8 +250,8 @@ private:
char* buffer_{nullptr};
char* next_line_buffer_{nullptr};
converter converter_;
converter next_line_converter_;
converter<> converter_;
converter<> next_line_converter_;
size_t size_{0};
const std::string& delim_;
@@ -288,7 +288,7 @@ private:
next_line_converter_.set_error_mode(mode);
}
converter& get_converter() {
converter<>& get_converter() {
return converter_;
}