ToruNiina
|
f23c003d2f
|
fix: add missing namespace specifier
|
2020-07-28 00:04:25 +09:00 |
|
ToruNiina
|
22ace027de
|
refactor: rm template from detail::change_region
|
2020-07-27 23:04:24 +09:00 |
|
ToruNiina
|
bc219af5b5
|
refactor: use location() member instead of ctor
|
2020-07-27 23:03:33 +09:00 |
|
ToruNiina
|
32a5341d09
|
refactor: use source_location, not region_base*
|
2020-07-27 22:29:18 +09:00 |
|
ToruNiina
|
e696aabd11
|
refactor: change internal interface to reduce code
to remove `std::addressof` calls, get_region(toml::value) now
returns a pointer to region.
|
2020-07-27 00:48:04 +09:00 |
|
ToruNiina
|
19cc9a2edf
|
refactor: remove template from detail::region
|
2020-07-25 22:01:34 +09:00 |
|
ToruNiina
|
b1c9df8998
|
feat: reorder headers following google c++ style
related to: #115
|
2020-06-28 00:58:20 +09:00 |
|
ToruNiina
|
31826b55ce
|
feat: avoid double checking in helper methods
|
2020-03-25 22:49:19 +09:00 |
|
ToruNiina
|
d7662347f2
|
refactor: shorten switch_cast definition by macro
|
2020-03-21 17:44:23 +09:00 |
|
ToruNiina
|
5f5539d402
|
feat: throw informative error from value.at(...)
|
2020-03-21 17:09:04 +09:00 |
|
ToruNiina
|
c2151cab0b
|
refactor: show func name in bad_cast from helpers
|
2020-03-21 17:06:34 +09:00 |
|
ToruNiina
|
653c87592c
|
feat: enable to show function name in bad_cast
|
2020-03-21 17:04:05 +09:00 |
|
ToruNiina
|
bdf4e75122
|
refactor: move helper function from get to value
|
2020-03-21 16:57:12 +09:00 |
|
ToruNiina
|
82fec38e37
|
refactor: simplify internally-used function
|
2020-02-19 15:46:25 +09:00 |
|
ToruNiina
|
f7bf341452
|
fix: add missing noexcept specifier
|
2020-01-19 21:06:10 +09:00 |
|
ToruNiina
|
0934d90f90
|
refactor: move ctors that are only used internally
|
2020-01-19 18:30:27 +09:00 |
|
ToruNiina
|
8b737dc21f
|
feat: add member methods to toml::value
|
2020-01-16 20:58:10 +09:00 |
|
ToruNiina
|
4688c235f5
|
refactor: rename internal macro value
|
2019-12-12 17:38:29 +09:00 |
|
ToruNiina
|
5c146857a3
|
Merge branch 'master' into colorize-err-msg
|
2019-12-11 22:49:38 +09:00 |
|
ToruNiina
|
8fbeaabfd9
|
feat: add operator[] to access table/array
|
2019-12-10 00:00:05 +09:00 |
|
ToruNiina
|
d47174954f
|
feat: colorize user-defined msg by format_error
|
2019-11-13 18:00:55 +09:00 |
|
ToruNiina
|
af116991b6
|
fix: remove overlapping [error] sign
|
2019-11-13 17:35:23 +09:00 |
|
ToruNiina
|
41eb1d6887
|
feat: pass source_location to exception
|
2019-10-31 22:23:31 +09:00 |
|
ToruNiina
|
d73bc6076c
|
feat: add basic_value::at(key) and at(idx)
|
2019-09-28 16:21:51 +09:00 |
|
ToruNiina
|
6b5fd349aa
|
fix: initialize source_location correctly
|
2019-06-26 21:35:01 +09:00 |
|
ToruNiina
|
0cee58b0b1
|
Merge branch 'v3' of github.com:ToruNiina/toml11 into v3
|
2019-06-21 14:31:52 +09:00 |
|
ToruNiina
|
d4afed5bbb
|
feat: construct value with a list of comments
|
2019-06-21 14:26:05 +09:00 |
|
ToruNiina
|
427706d671
|
fix: explicitly add float conversion
|
2019-06-20 23:58:15 +09:00 |
|
ToruNiina
|
5e5a757208
|
fix: conversion between different basic_value s
|
2019-06-20 14:35:38 +09:00 |
|
ToruNiina
|
3379ed82ec
|
refactor: remove meaningless meta conditions
|
2019-06-19 20:06:06 +09:00 |
|
ToruNiina
|
9663a6bbdb
|
Merge branch 'master' into v3
|
2019-06-19 19:53:08 +09:00 |
|
ToruNiina
|
4a2c823d56
|
fix: comparison between values that has a table
|
2019-06-19 19:32:25 +09:00 |
|
ToruNiina
|
f744a792e2
|
fix: constructor with array-like types
|
2019-06-17 23:45:43 +09:00 |
|
ToruNiina
|
bc68a9d9ee
|
refactor: remove needless include file
|
2019-06-17 23:07:14 +09:00 |
|
ToruNiina
|
c2b0de623f
|
feat: enable to convert map-like to toml::value
|
2019-06-17 22:50:14 +09:00 |
|
ToruNiina
|
57b5545ba2
|
fix: add _type suffix to value::xxx_type
|
2019-06-17 20:34:13 +09:00 |
|
ToruNiina
|
f36b39c04f
|
fix: consider comments while comparing values
|
2019-06-17 20:33:57 +09:00 |
|
ToruNiina
|
af19dfe032
|
fix: conversion between different basic_values
|
2019-06-15 20:19:51 +09:00 |
|
ToruNiina
|
5726d10339
|
feat: save comment information in value
|
2019-06-15 17:13:02 +09:00 |
|
ToruNiina
|
6345910c3e
|
🔀 Merge branch 'master' into v3
|
2019-06-08 20:05:05 +09:00 |
|
ToruNiina
|
4f4d4380f2
|
feat: throw from as_* if type differs
|
2019-06-07 19:34:04 +09:00 |
|
ToruNiina
|
7db8388d17
|
fix: avoid deprecated stuff in the internal code
|
2019-06-07 13:27:10 +09:00 |
|
ToruNiina
|
62c993e096
|
feat: add as|is_floating and deprecate as|is_float
to make the function names consistent with snake_case_typenames
|
2019-06-07 00:10:12 +09:00 |
|
ToruNiina
|
7258c52334
|
feat: enable to edit comments through memfun
|
2019-06-03 22:17:10 +09:00 |
|
ToruNiina
|
407d9223f6
|
feat: 💥 is_float -> is_floating
|
2019-06-03 22:01:47 +09:00 |
|
ToruNiina
|
d7c5606dcf
|
fix: update as_float -> floating
|
2019-06-03 21:46:48 +09:00 |
|
ToruNiina
|
f19b3822bb
|
feat: 💥 change as_float -> as_floating
|
2019-06-03 21:43:35 +09:00 |
|
ToruNiina
|
319365f86b
|
feat: update types in format_error
|
2019-06-02 21:50:27 +09:00 |
|
ToruNiina
|
89f0ace6ee
|
fix: initialize comment container correctly
|
2019-06-02 21:50:01 +09:00 |
|
ToruNiina
|
9676499ab5
|
refactor: move file inclusion to correct position
|
2019-06-02 15:29:34 +09:00 |
|