Commit Graph
27 Commits
Author SHA1 Message Date
Patrick Urbanke 463fa175fc Parse Literal in terms of the ReflectionType 2023-10-31 18:34:29 +01:00
Patrick Urbanke d0a66a673d Better error message for unsupported types 2023-10-30 17:50:35 +01: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 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 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 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 c365d1b308 Made sure we support zero-copy replace 2023-10-07 21:00:01 +02:00
Patrick Urbanke 21803f509e Added support for std::unique_ptr and rfl::Box 2023-10-07 12:23:48 +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 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 9a10b2f55e Added code and first tests 2023-09-30 22:02:10 +02:00