Commit Graph

1064 Commits

Author SHA1 Message Date
ToruNiina
a32ccd82f3 fix UB in test_value (use after move) 2018-10-22 19:00:16 +09:00
ToruNiina
f326334147 add definition of constexpr static value to avoid linker error 2018-07-08 18:58:38 +09:00
ToruNiina
b1a55b1331 simplify SFINAE in to_toml 2018-05-05 13:09:40 +09:00
ToruNiina
170b0d6b3f use constexpr value instead of call constexpr func directory 2018-05-05 12:06:06 +09:00
ToruNiina
433636a06f simplify the implementation of from_toml 2018-05-05 11:59:34 +09:00
ToruNiina
9555817901 add get<pair>, get<tuple> 2018-05-05 11:46:09 +09:00
ToruNiina
e54deacf1a simplify SFINAE expressions in toml::get 2018-05-05 11:42:11 +09:00
ToruNiina
b6f53cae7a update test_traits
now is_container returns false when map-like class is passed
2018-05-05 11:40:13 +09:00
ToruNiina
f953a9cf23 add conjunction, disjunction, negation, index_seq 2018-05-05 11:37:18 +09:00
ToruNiina
117549bf70 change is_(map|container) and remove needless trait 2018-05-05 11:36:47 +09:00
ToruNiina
4287160254 add a badge 2018-03-28 19:21:17 +09:00
ToruNiina
53c87ae80e add contributors section 2018-03-28 19:14:29 +09:00
ToruNiina
5aeb6f24df change exception type #8; iterator may be invalid 2017-12-24 11:02:32 +09:00
ToruNiina
3f1b431ee2 add missing inline specifier #7 2017-12-15 21:39:38 +09:00
ToruNiina
7624f95e6d Merge branch 'get_or' to load default value: #6 2017-12-11 14:55:43 +09:00
ToruNiina
7be9548a6f fix test_module name 2017-12-11 14:30:25 +09:00
ToruNiina
a9eb291a79 add --output-on-failure to .travis.yml 2017-12-11 12:12:22 +09:00
ToruNiina
f7f356752a add get_or to README 2017-12-11 12:06:31 +09:00
ToruNiina
3083f65493 add get_or 2017-12-11 12:04:57 +09:00
ToruNiina
d1fd42ff7e output line number if error occured 2017-06-17 19:05:24 +09:00
Toru Niina
3d6cc40487 Merge pull request #4 from chemfiles/icc
Allow to build with intel c++ compiler
2017-06-14 00:26:30 +09:00
Guillaume Fraux
57cc7f77c1 Allow to build with intel c++ compiler 2017-06-13 16:05:55 +02:00
ToruNiina
0d9b910d5d remove test already done in other file from one file 2017-06-07 12:35:38 +09:00
ToruNiina
8caf472e71 descrive values of toml::value_t in README 2017-06-07 12:33:51 +09:00
ToruNiina
9036495ce9 mention toml::value::cast() in README 2017-06-07 12:28:22 +09:00
ToruNiina
1dfddb7cb2 mention about toml::Array in README 2017-05-19 15:30:34 +09:00
ToruNiina
22c9a837d9 add example of table to README 2017-05-19 14:58:52 +09:00
ToruNiina
8a98ce8e35 permit tie with non-match types in from_toml 2017-05-19 14:44:05 +09:00
ToruNiina
a198a5f103 add test for stream input 2017-05-19 14:16:12 +09:00
ToruNiina
cbbdc2ab01 add missing example toml data to README 2017-05-18 11:57:49 +09:00
ToruNiina
58bb39dd39 exchange string literal to codepoints 2017-05-17 14:59:11 +09:00
ToruNiina
6df956e1d4 exchange string literal to codepoints 2017-05-17 14:57:49 +09:00
ToruNiina
ff00f45922 change literal string to sequence of codepoint 2017-05-17 14:50:29 +09:00
ToruNiina
03269588a5 wrap u8 string with std::string 2017-05-17 14:17:03 +09:00
ToruNiina
80adda8184 open file with binary mode 2017-05-17 14:12:19 +09:00
ToruNiina
e2d75bf1a9 fix file path 2017-05-17 14:10:39 +09:00
ToruNiina
77855c52e5 try to check text enconding 2017-05-17 14:09:34 +09:00
ToruNiina
c2ed5e331f try to check text encoding 2017-05-17 14:07:46 +09:00
ToruNiina
2c92142d5c restore parser and test 2017-05-17 14:07:34 +09:00
ToruNiina
d77ec7dc88 restore old parse function 2017-05-17 13:21:32 +09:00
ToruNiina
b67fcf79bc temporally removed the test for unicode. it fails only on win 2017-05-17 13:19:08 +09:00
ToruNiina
430940f766 fix typos 2017-05-17 13:12:21 +09:00
ToruNiina
1fc58095fa use wstring_convert (but is deprecated in c++17) 2017-05-17 13:08:24 +09:00
ToruNiina
5ffc51a99d experimentally use wchar and wstring in parser.hpp 2017-05-17 13:04:36 +09:00
ToruNiina
1265952b97 split parsing unicode file 2017-05-17 12:54:13 +09:00
ToruNiina
89c1094a69 set binary flag.. 2017-05-17 12:15:39 +09:00
ToruNiina
d65642ddf6 add locale settings 2017-05-17 11:45:27 +09:00
ToruNiina
9e9a5a7253 fix typo 2017-05-17 10:55:22 +09:00
ToruNiina
5e6d699452 add test for hard_example_unicode 2017-05-17 10:16:54 +09:00
ToruNiina
db247f6496 fix overwritten env val about compiler in travis 2017-05-17 09:47:12 +09:00