comments update
This commit is contained in:
parent
5005644d98
commit
513c8da358
|
|
@ -65,6 +65,9 @@
|
||||||
"typeinfo": "cpp",
|
"typeinfo": "cpp",
|
||||||
"unordered_map": "cpp",
|
"unordered_map": "cpp",
|
||||||
"utility": "cpp",
|
"utility": "cpp",
|
||||||
"vector": "cpp"
|
"vector": "cpp",
|
||||||
|
"thread": "cpp",
|
||||||
|
"numeric": "cpp",
|
||||||
|
"stack": "cpp"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -20,10 +20,10 @@ MlValue CsvParser::parseCSV(const std::string &csvSource) {
|
||||||
std::string field;
|
std::string field;
|
||||||
|
|
||||||
std::vector<MlValue> parsed_data;
|
std::vector<MlValue> parsed_data;
|
||||||
parsed_data.reserve(128);
|
parsed_data.reserve(128); // TODO introduce constant here
|
||||||
|
|
||||||
std::vector<MlValue> line;
|
std::vector<MlValue> line;
|
||||||
line.reserve(32);
|
line.reserve(32); // TODO introduce constant here
|
||||||
|
|
||||||
std::string::const_iterator aChar = csvSource.begin();
|
std::string::const_iterator aChar = csvSource.begin();
|
||||||
while (aChar != csvSource.end()) {
|
while (aChar != csvSource.end()) {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "ml.h"
|
|
||||||
#include "clib/date.h"
|
#include "clib/date.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
@ -10,7 +9,6 @@
|
||||||
|
|
||||||
long now();
|
long now();
|
||||||
|
|
||||||
// TODO temporary solution before format will be implemented
|
|
||||||
std::string date_to_string(const long datetime, const std::string format);
|
std::string date_to_string(const long datetime, const std::string format);
|
||||||
|
|
||||||
long string_to_date(const std::string &datestr, const std::string &format);
|
long string_to_date(const std::string &datestr, const std::string &format);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue