Commit Graph

1149 Commits

Author SHA1 Message Date
ToruNiina
3203d39dad enable toml::get to make static array (like std::array) 2017-05-07 10:40:17 +09:00
ToruNiina
58c12a69be add toml::resize func that resize only resizable container 2017-05-06 23:40:57 +09:00
ToruNiina
a506dfd3c1 add has_resize_method 2017-05-06 23:40:28 +09:00
ToruNiina
9cb6137974 change message slightly 2017-05-06 19:04:50 +09:00
ToruNiina
7c63bc438c remove needless typedef 2017-05-06 18:46:07 +09:00
ToruNiina
7dde4f3039 add parser of fundamental types 2017-05-06 18:44:19 +09:00
ToruNiina
bbb9388d3a add typedefs to basic_datetiem 2017-05-06 18:43:55 +09:00
ToruNiina
864840d11c add table definition acceptor 2017-05-05 19:33:45 +09:00
ToruNiina
ae127e6000 shorten waiting time 2017-05-05 19:31:42 +09:00
ToruNiina
13a13070c6 add some tests 2017-05-05 19:00:44 +09:00
ToruNiina
e35e620812 add acceptor for array and inline table 2017-05-05 18:54:09 +09:00
ToruNiina
9a627b44fb add some test 2017-05-05 17:17:03 +09:00
ToruNiina
50d00a840f add acceptors for toml values 2017-05-05 16:48:54 +09:00
ToruNiina
3e016be668 add simple acceptors 2017-05-05 10:54:47 +09:00
ToruNiina
b1ca20962b add conversion test to datetime 2017-04-21 15:55:04 +09:00
ToruNiina
833c69628a fix datetime::ctor and stream operator for datetime 2017-04-21 15:54:48 +09:00
ToruNiina
c522186d4c change include file path 2017-04-21 13:15:05 +09:00
ToruNiina
78f25dd66d split files 2017-04-21 13:14:53 +09:00
ToruNiina
337a671f0c split datetime definition from toml.hpp 2017-04-21 12:56:39 +09:00
ToruNiina
7918894e6b add decl of basic_datetime 2017-04-20 22:07:43 +09:00
ToruNiina
f4afaa7509 add from_toml(std::tie, value) and test for it 2017-04-20 16:13:06 +09:00
ToruNiina
dccfcd99cf add test operator== 2017-04-20 14:38:25 +09:00
ToruNiina
85ea77043a add missing default 2017-04-20 14:37:51 +09:00
ToruNiina
24b759b827 add operator for toml::value 2017-04-20 14:23:01 +09:00
ToruNiina
6d643dd70d add test_get 2017-04-20 13:30:11 +09:00
ToruNiina
c6f38967df change message in exception 2017-04-20 13:30:01 +09:00
ToruNiina
9c4a622781 add test for from_toml: Table 2017-04-20 13:29:46 +09:00
ToruNiina
1b2b422ea1 add from_toml and get function 2017-04-20 12:49:36 +09:00
ToruNiina
fd8753612a add to_toml(initializer_list) 2017-04-20 12:05:10 +09:00
ToruNiina
d3578aec8e add test for to_toml function 2017-04-20 10:49:11 +09:00
ToruNiina
b5c41baef2 add test for initializer_list 2017-04-20 10:48:59 +09:00
ToruNiina
4a5f4a4bf5 add ctor for initializer_list 2017-04-20 10:44:11 +09:00
ToruNiina
df3602f347 add to_toml func 2017-04-20 00:13:58 +09:00
ToruNiina
9234a34faa add test for substitution 2017-04-20 00:13:37 +09:00
ToruNiina
0b13f01668 add test for values 2017-04-20 00:08:41 +09:00
ToruNiina
34b0176083 remove is_castable 2017-04-19 23:10:29 +09:00
ToruNiina
31f5745454 rename test.cpp to test_value.cpp 2017-04-19 22:48:20 +09:00
ToruNiina
f177e9c235 add CMakeLists 2017-04-19 22:47:40 +09:00
ToruNiina
0260a13f1c make tests/ and toml/ dir and move codes 2017-04-19 22:47:24 +09:00
ToruNiina
dc9e252820 move some traits to the front side 2017-04-19 20:18:16 +09:00
ToruNiina
f3a46fca05 remove needless include files 2017-04-19 14:18:46 +09:00
ToruNiina
9fea72930f add ignore 2017-04-19 13:38:38 +09:00
ToruNiina
a784e31d0c update test 2017-04-19 13:38:01 +09:00
ToruNiina
1c5c0e8572 add some meta functions 2017-04-19 13:37:39 +09:00
ToruNiina
f3276b8b09 add type storage to avoid recursive type 2017-04-19 13:37:02 +09:00
ToruNiina
6ffd233bce add table and array 2017-04-16 16:38:02 +09:00
ToruNiina
8657c45d04 add copy/move ctor/op= 2017-04-16 16:37:45 +09:00
ToruNiina
adb436dd66 rename enum type -> value_t 2017-04-16 16:37:19 +09:00
ToruNiina
fb107341b4 implement union-based toml::value 2017-04-16 15:12:39 +09:00