Commit Graph
53 Commits
Author SHA1 Message Date
Patrick Urbanke 7fdef62b86 Fixed typo 2023-10-31 20:12:03 +01:00
Patrick Urbanke 92d2d92c74 Added the basic functionality for constrained numeric values 2023-10-31 20:11:54 +01:00
Patrick Urbanke 463fa175fc Parse Literal in terms of the ReflectionType 2023-10-31 18:34:29 +01:00
Patrick Urbanke 03210cdc73 Added more functionality to rfl::Ref 2023-10-31 18:18:23 +01:00
Patrick Urbanke a0d6aa1b05 Fixed typo 2023-10-30 17:50:44 +01:00
Patrick Urbanke d0a66a673d Better error message for unsupported types 2023-10-30 17:50:35 +01:00
Patrick Urbanke 8f7c84954c Added more functionality to Box 2023-10-25 22:05:12 +02:00
Patrick Urbanke 4d967ccde2 Added support custom constructors with results 2023-10-25 20:23:16 +02:00
Patrick Urbanke f48e0ff425 Greatly simplified constructible_with_n_fields 2023-10-24 21:30:24 +02:00
Patrick Urbanke 32bc4fd075 Added default constructors for Ref and Box 2023-10-22 18:29:37 +02:00
Patrick Urbanke fe1b2d141e Removed unnecessary indirection 2023-10-21 22:41:36 +02:00
Patrick Urbanke 4fb6243d6f Refined the concepts and added comments 2023-10-21 21:58:45 +02:00
Patrick Urbanke fa5c8fd998 Added concepts and constraints for the Parser 2023-10-21 18:24:44 +02:00
Patrick Urbanke ea3ce3632c Added support for better error messages 2023-10-21 14:19:32 +02:00
Patrick Urbanke 2d3d6340eb Use move semantics for std::shared_ptr and rfl::Box 2023-10-19 22:35:18 +02:00
Patrick Urbanke d6c4622b55 Move keys 2023-10-17 00:30:26 +02:00
Patrick Urbanke 278071f2c0 Replaced map with vector of key-value-pairs 2023-10-16 22:22:54 +02:00
Patrick Urbanke 013708b77c Removed unnecessary boilerplate code 2023-10-15 17:58:37 +02:00
Patrick Urbanke 4c020e7e82 Using std::array instead of std::vector for retrieving the fields 2023-10-15 14:29:41 +02:00
Patrick Urbanke 383dde14f5 Use string_view to compare the fields 2023-10-15 13:45:07 +02:00
Patrick Urbanke f34bdd76b9 Optimized the reading of the named tuples using field indices 2023-10-14 20:35:59 +02:00
Patrick Urbanke a0d17bd3c5 load_string and save_string in separate files 2023-10-14 18:59:54 +02:00
Patrick Urbanke f267bfa154 Added load and save 2023-10-14 00:04:17 +02:00
Patrick Urbanke 7129e5a2ce Revert "Build NamedTuple non-recursively"
This reverts commit 3db0bbb065.
2023-10-11 21:54:05 +02:00
Patrick Urbanke 3db0bbb065 Build NamedTuple non-recursively 2023-10-11 21:50:05 +02:00
Patrick Urbanke 823f796519 Added move constructor for different type to result 2023-10-11 21:49:50 +02:00
Patrick Urbanke 94b8ab368b Added tests for string map and string unordered map 2023-10-10 23:14:25 +02:00
Patrick Urbanke 5198a446aa Added support for various containers 2023-10-10 21:37:02 +02:00
Patrick Urbanke 23922db9c5 Added tests for various containers 2023-10-09 22:32:37 +02:00
Patrick Urbanke 745c7ead2c Added support for clang 2023-10-09 21:08:05 +02:00
Patrick Urbanke c7fe17cf77 Made sure we can replace structs with other structs 2023-10-08 11:23:46 +02:00
Patrick Urbanke 266defd578 Made sure rfl::as works as intended 2023-10-08 10:56:20 +02:00
Patrick Urbanke a5504d7db7 Make sure that we are consistently following the Rule of 5 2023-10-08 03:21:38 +02:00
Patrick Urbanke fed24baea5 Added tests for replace_flatten 2023-10-07 21:37:19 +02:00
Patrick Urbanke c365d1b308 Made sure we support zero-copy replace 2023-10-07 21:00:01 +02:00
Patrick Urbanke 2b50fb8ce0 Made the .to_class(...) method optional 2023-10-07 13:53:16 +02:00
Patrick Urbanke 21803f509e Added support for std::unique_ptr and rfl::Box 2023-10-07 12:23:48 +02:00
Patrick Urbanke f708348fb1 Added support for timestamps 2023-10-04 21:29:06 +02:00
Patrick Urbanke 6d03f28eb2 Use std::move for the NamedTuple parser 2023-10-03 21:48:29 +02:00
Patrick Urbanke cdaded607f Use std::move more aggressively 2023-10-03 21:45:38 +02:00
Patrick Urbanke 2c86d80626 Added support for std::array 2023-10-03 21:35:25 +02:00
Patrick Urbanke a4bd3dbe4c Added a custom parser 2023-10-03 16:01:46 +02:00
Patrick Urbanke fb656f51cc Catch exceptions thrown in constructors 2023-10-03 14:44:20 +02:00
Patrick Urbanke b85a53f087 Check for duplicate fields names in externally tagged variants 2023-10-03 12:22:56 +02:00
Patrick Urbanke 01d9c3aee7 Removed rfl::Enum, it is replaced by the externally tagged variant 2023-10-03 12:15:55 +02:00
Patrick Urbanke ce5ec98815 Added the field variant 2023-10-03 11:27:42 +02:00
Patrick Urbanke b1c8d6de25 Fixed typos in the TaggedUnion 2023-10-02 23:43:33 +02:00
Patrick Urbanke a3f693c5e8 Beautification and optimization 2023-10-02 22:15:31 +02:00
Patrick Urbanke 656929f6e2 Added perfect forwarding to Result 2023-10-02 21:55:58 +02:00
Patrick Urbanke 53cbbad588 Added helper constructors to the TaggedUnion 2023-10-02 21:55:45 +02:00