Commit Graph

32 Commits

Author SHA1 Message Date
ToruNiina
dc562ae5cb refactor: remove name of unused arg in func 2024-06-28 00:48:20 +09:00
ToruNiina
83f37a18b1 fix: incorrect function argument 2024-06-28 00:48:06 +09:00
ToruNiina
59921c1eb7 feat: add try_find 2024-06-28 00:19:00 +09:00
ToruNiina
a4d0189df3 refactor: move key_cast to utility 2024-06-28 00:18:46 +09:00
ToruNiina
3320d25abb feat: add try_get 2024-06-28 00:13:07 +09:00
ToruNiina
8efb305e8b feat: add try_from to return result<T, E> 2024-06-28 00:09:29 +09:00
ToruNiina
2baa47ef3d Merge branch 'main' into v4_1_0 2024-06-28 00:08:44 +09:00
ToruNiina
42734ea642 fix: typo in type-trait impl 2024-06-28 00:07:26 +09:00
ToruNiina
932acba7f1 fix #250: bump patch version macro in version.hpp 2024-06-27 00:30:38 +09:00
ToruNiina
a0ae1a6bfd fix: access members directly 2024-06-26 22:42:32 +09:00
ToruNiina
0e84d0591b feat: add toml::basic_value::try_at 2024-06-25 23:50:28 +09:00
ToruNiina
3c09d3046c refactor: remove detail::(local|gm)time_s from fwd 2024-06-23 23:25:57 +09:00
ToruNiina
7af0e66c25 refactor: add make_xxx_error funcs 2024-06-23 15:36:50 +09:00
ToruNiina
9e27fd24b7 Merge branch 'fix-format-location-first-line' 2024-06-20 22:18:44 +09:00
ToruNiina
d023a93e3c fix: do not duplicate empty line in err msg 2024-06-20 21:11:43 +09:00
ToruNiina
995b25efe0 fix: pass empty filename to format_location
not to skip the first empty line
2024-06-20 21:10:42 +09:00
Egor Pugin
a32289dc70
Fix incorrect operator<<() argument type that gives build error. 2024-06-19 17:42:10 +03:00
ToruNiina
7149b3cb29 refactor: rename member vars, adding _ at the end 2024-06-19 01:55:57 +09:00
ToruNiina
013d1e396f feat: use brace init in ctor for raw values 2024-06-19 01:45:58 +09:00
ToruNiina
7cab13f6e5 feat: use brace-init list for raw memvars 2024-06-19 01:45:29 +09:00
ToruNiina
74bea5368a fix #246: use brace-init in major/minor
to avoid name collision with <sys/sysmacros> major and minor
2024-06-19 01:36:40 +09:00
ToruNiina
fbfdb6af30 fix: call destructor correctly 2024-06-17 00:21:28 +09:00
ToruNiina
835d38a22b feat: add SFINAE to result template ctor 2024-06-17 00:21:11 +09:00
ToruNiina
9c725140ca refactor: add basic_value::config_type 2024-06-16 19:33:55 +09:00
ToruNiina
5c4722fb5d feat: use MSVC_LANG after 2015 Update 3 2024-06-16 19:33:22 +09:00
ToruNiina
6f05bffb5f fix: do not use assert-only never reached branch 2024-06-16 19:32:54 +09:00
ToruNiina
872ef72572 fix: use sscanf_s in case of MSVC 2024-06-16 19:32:28 +09:00
ToruNiina
cb1a20407d fix: add missing include file 2024-06-16 19:31:29 +09:00
ToruNiina
8326709fae fix: set prec as max in case of hex 2024-06-16 13:11:47 +09:00
ToruNiina
c7db1a3de0 fix: typo in macro definitions 2024-06-15 22:35:16 +09:00
ToruNiina
7c123ab378 feat: update codes to v4 2024-06-15 19:13:02 +09:00
ToruNiina
7277ebdbad feat: move codes under include/ 2024-06-15 19:11:46 +09:00