ToruNiina
7e90282175
fix: add region where -Wshadow is ignored on GCC 4
2021-05-10 23:00:30 +09:00
ToruNiina
cd60045014
fix: gcc 7 introduces wshadow variants
2021-05-10 21:51:51 +09:00
ToruNiina
4acc563b28
feat: explicitly avoid -Wshadow=global in GCC
2021-05-10 20:49:20 +09:00
ToruNiina
b1c9df8998
feat: reorder headers following google c++ style
...
related to: #115
2020-06-28 00:58:20 +09:00
ToruNiina
74ef494797
feat: remove unused trait types
2019-06-22 17:35:40 +09:00
ToruNiina
f9b5166c09
refactor: move default value types to value.hpp
2019-06-01 23:58:17 +09:00
ToruNiina
5c3c1bd0e7
feat: add missing default array/table type
2019-06-01 20:18:15 +09:00
ToruNiina
65540fbb5c
fix: typos
2019-06-01 19:47:10 +09:00
ToruNiina
b8d3038d38
feat: add meta function to detect conversions
2019-06-01 16:03:26 +09:00
ToruNiina
eaa3604dce
refactor: introduce value_t_constant
...
as an alias for integral_constant
2019-06-01 16:01:48 +09:00
ToruNiina
8acc348106
feat: 💥 change interface around types
...
- change value_t::typename from CamelCase to snake_case.
- drop CamelCase typename supports.
The changes are introduced to make the interfaces uniform. For some
(historical) reasons, toml11 has both CamelCase names and snake_case
names for types. Additionally, since `float` is a keyword, snake_case
names uses `floating` to avoid collision and CamelCase name uses `Float`
because toml official calls it `Float`. This is too confusing.
Since it is a major upgrade, I think it is a big chance to make them
uniform.
2019-06-01 13:33:57 +09:00
ToruNiina
70d0049511
refactor: move some meta-funcs to traits.hpp
2019-06-01 12:35:40 +09:00
ToruNiina
1633268d57
refactor: use snake_case typename only
2019-05-30 14:39:15 +09:00
ToruNiina
0c7d2d07d4
feat: do not consider string_view as a container
...
it is a kind of string.
2019-04-23 23:23:57 +09:00
ToruNiina
fd063af7ce
refactor: make include guard style uniform
2019-03-16 14:19:47 +09:00
Quentin Khan
1dfe32acd8
Fix multiple definition error
2019-01-30 17:06:23 +01:00
ToruNiina
fd21d5dd95
add simplest copyright notice
2018-12-13 20:44:10 +09:00
ToruNiina
0759e757ae
move is_chrono_duration from types to traits
2018-12-10 22:05:42 +09:00
ToruNiina
bf2158ae98
add map from exact toml type -> toml::value_t
2018-12-10 15:57:44 +09:00
ToruNiina
80eafd1424
add datetime variants and rearrange type-related functions
2018-12-09 16:34:47 +09:00
ToruNiina
f834e0d142
cosmetic: sort value_t in types.h
2018-12-09 11:06:19 +09:00
ToruNiina
66807d19d1
add specializations
2018-12-08 19:40:58 +09:00
ToruNiina
25789d1450
set Datetime as offset_datetime
...
prepare for TOML v0.5.0
2018-12-08 19:23:09 +09:00
ToruNiina
5e052237ba
add alias for snake_case types
2018-12-06 01:20:11 +09:00
ToruNiina
532457345c
split type definitions from value.hpp
2018-12-05 20:55:25 +09:00