toml11/toml
ToruNiina 6f950c9ec8 perf: cache current line number in location
`location::line_num()` function used to be implemented by using
`std::count`, so each time the parser encounters a type mismatch,
`std::count` was called with almost whole file. It decelerates the
parsing process too much, so I decided to add `line_number_` member
variable to `location` and add `advance/retrace/reset` to `location`
in order to modify the position that is pointed.
2019-04-12 18:32:46 +09:00
..
combinator.hpp perf: cache current line number in location 2019-04-12 18:32:46 +09:00
datetime.hpp Merge branch 'master' into hotfix 2019-03-17 21:16:37 +09:00
exception.hpp refactor: make include guard style uniform 2019-03-16 14:19:47 +09:00
from_toml.hpp refactor: remove unused function parameter names 2019-04-06 19:39:13 +09:00
from.hpp feat: add from<T> and into<T> 2019-03-16 14:27:05 +09:00
get.hpp fix: add missing const specifier to some of get()s 2019-03-20 00:37:13 +09:00
into.hpp feat: add from<T> and into<T> 2019-03-16 14:27:05 +09:00
lexer.hpp fix: disallow invalid escape sequence 2019-03-01 22:13:32 +09:00
literal.hpp perf: cache current line number in location 2019-04-12 18:32:46 +09:00
parser.hpp perf: cache current line number in location 2019-04-12 18:32:46 +09:00
region.hpp perf: cache current line number in location 2019-04-12 18:32:46 +09:00
result.hpp refactor: make include guard style uniform 2019-03-16 14:19:47 +09:00
serializer.hpp fix: add stream operator for toml::table 2019-03-20 19:30:08 +09:00
storage.hpp add simplest copyright notice 2018-12-13 20:44:10 +09:00
string.hpp refactor: make include guard style uniform 2019-03-16 14:19:47 +09:00
traits.hpp feat: add a way to check arg is "string literal" 2019-03-18 16:31:12 +09:00
types.hpp refactor: make include guard style uniform 2019-03-16 14:19:47 +09:00
utility.hpp feat: enable to show message for deprecated() 2019-03-18 16:28:27 +09:00
value.hpp fix: restore the back compat of format_error 2019-03-20 20:46:22 +09:00