Commit Graph
66 Commits
Author SHA1 Message Date
liuzicheng1987 747f3421a2 Fixed typo in the code example 2023-10-04 20:06:42 +02:00
Patrick Urbanke 679021d030 Added a CMakeLists.txt 2023-10-04 20:03:00 +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 e13f78b863 Merge branch 'main' of github.com:getml/reflect-cpp 2023-10-03 21:35:38 +02:00
Patrick Urbanke 2c86d80626 Added support for std::array 2023-10-03 21:35:25 +02:00
liuzicheng1987 4a7a81e79c Improved the wording 2023-10-03 21:10:28 +02:00
liuzicheng1987 e1f1e48e15 Added rfl::Ref to the docs README 2023-10-03 21:07:53 +02:00
liuzicheng1987 517e2abbb3 Added documentation on rfl::Ref 2023-10-03 21:03:32 +02:00
liuzicheng1987 edd4c664f3 Fixed typo 2023-10-03 19:43:35 +02:00
liuzicheng1987 1e19df9f4f Fixed typo 2023-10-03 17:57:08 +02:00
liuzicheng1987 c6a21c1829 Added untagged 2023-10-03 17:53:30 +02:00
liuzicheng1987 b8d723844b Put children in quotation marks 2023-10-03 17:51:54 +02:00
liuzicheng1987 83a2b13c00 Fixed typo 2023-10-03 17:50:59 +02:00
Patrick Urbanke 58d1765abc Moved banner2 2023-10-03 17:49:47 +02:00
liuzicheng1987 5deb7ad516 Added a README.md for the documentation 2023-10-03 17:48:19 +02:00
liuzicheng1987 9a12e6baa9 Added documentation on optional fields 2023-10-03 17:30:48 +02:00
Patrick Urbanke cb4ffaf216 Added a test for optional fields 2023-10-03 17:19:56 +02:00
liuzicheng1987 c2f4e11cca Added basic documentation on structs 2023-10-03 17:14:00 +02:00
Patrick Urbanke 62cd51aa12 Merge branch 'main' of github.com:getml/reflect-cpp 2023-10-03 17:08:43 +02:00
Patrick Urbanke 1ede2f878a More comprehensive test of the default values 2023-10-03 17:08:28 +02:00
liuzicheng1987 06aaab8439 Fixed third link 2023-10-03 16:49:30 +02:00
liuzicheng1987 cd55140484 Update links to documentation 2023-10-03 16:43:46 +02:00
liuzicheng1987 ad7c5d1d25 Added link to the chapter on the custom parser 2023-10-03 16:40:33 +02:00
Patrick Urbanke 74594b5c92 Separated the documentation for the custom parser 2023-10-03 16:39:12 +02:00
liuzicheng1987 e2344ff9ba Fixed typo 2023-10-03 16:23:10 +02:00
liuzicheng1987 70f2ce0a79 Added documentation for the custom parser 2023-10-03 16:17:22 +02:00
Patrick Urbanke a4bd3dbe4c Added a custom parser 2023-10-03 16:01:46 +02:00
Patrick Urbanke 98160988cb Added tests for custom parsers 2023-10-03 15:35:55 +02:00
Patrick Urbanke 16c6b28dd7 Merge branch 'main' of github.com:getml/reflect-cpp 2023-10-03 14:44:49 +02:00
Patrick Urbanke e932ed86f2 Added tests for custom classes 2023-10-03 14:44:33 +02:00
Patrick Urbanke fb656f51cc Catch exceptions thrown in constructors 2023-10-03 14:44:20 +02:00
liuzicheng1987 c85e3428e7 Removed Enum from README.md 2023-10-03 12:29:24 +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
liuzicheng1987 1a9b765233 Added documentation on external tags 2023-10-03 12:11:15 +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
liuzicheng1987 971955110b Fixed type 2023-10-02 23:06:24 +02:00
liuzicheng1987 9bc6f9d0eb Added documentation for tagged unions 2023-10-02 23:05:27 +02:00
Patrick Urbanke ee67e8750a Actually use a tagged union 2023-10-02 22:49:17 +02:00
liuzicheng1987 34d712bfc7 Added documentation on literals 2023-10-02 22:33:16 +02:00
Patrick Urbanke fa2397a040 Updated the README to reflect things yet unsupported 2023-10-02 22:15:55 +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
Patrick Urbanke 0abbc0fbdf Added tests 2023-10-02 21:53:28 +02:00
Patrick Urbanke a2afe7de9b Minor bugfix in write_and_read 2023-10-02 19:21:58 +02:00
Patrick Urbanke cf86f47137 Merge branch 'main' of github.com:getml/reflect-cpp 2023-10-02 19:12:15 +02:00
Patrick Urbanke b67a2fabab Added support for setting default values 2023-10-02 19:12:01 +02:00