Commit Graph
251 Commits
Author SHA1 Message Date
Patrick Urbanke 4792d596ee Added compile-time checks disallowing pointers 2023-11-12 22:25:08 +01:00
liuzicheng1987 216e5bd629 Update flexbuffers.md 2023-11-12 21:01:15 +01:00
Patrick Urbanke 992115c6a0 Added test_save_load for JSON 2023-11-12 20:51:00 +01:00
Patrick Urbanke fe6f580e4f Merge branch 'f/flexbuffers' of github.com:getml/reflect-cpp into f/flexbuffers 2023-11-12 20:41:28 +01:00
Patrick Urbanke 8d000e9db2 Added support for saving and loading 2023-11-12 20:41:15 +01:00
liuzicheng1987 2dc82e9bb5 Update flexbuffers.md 2023-11-12 20:08:48 +01:00
liuzicheng1987 bad3f5f907 Create flexbuffers.md 2023-11-12 18:52:36 +01:00
Patrick Urbanke 73ddc22063 Added second monster example 2023-11-12 18:38:51 +01:00
Patrick Urbanke 8940ff56b2 Merge branch 'f/flexbuffers' of github.com:getml/reflect-cpp into f/flexbuffers 2023-11-12 17:46:05 +01:00
liuzicheng1987 b978bcea63 Update backwards_compatability.md 2023-11-12 18:14:41 +01:00
Patrick Urbanke 7e7691500f Use rfl::Variant 2023-11-12 17:36:34 +01:00
Patrick Urbanke a2c99ad37d Added the monster example to the JSON tests 2023-11-12 17:03:31 +01:00
liuzicheng1987 5c4b995a67 Update variants_and_tagged_unions.md 2023-11-12 17:01:01 +01:00
Patrick Urbanke 6097bdb1bf Added the monster example 2023-11-12 16:46:56 +01:00
Patrick Urbanke 3ae75eb8a5 Added rfl::Variant 2023-11-12 16:46:46 +01:00
Patrick Urbanke a68622e57f Added tests for Ref, Box and custom constructors 2023-11-12 15:04:10 +01:00
Patrick Urbanke 470fa31142 Added tests for custom classes 2023-11-12 14:33:26 +01:00
Patrick Urbanke d19a14e926 Added more tests for containers 2023-11-12 14:13:50 +01:00
Patrick Urbanke 629dd0c036 Added more tests 2023-11-12 00:08:56 +01:00
Patrick Urbanke 2a948e809a Using std::optional in the fields array; fixes the test and increases safety 2023-11-11 23:33:15 +01:00
Patrick Urbanke 5efa9df16e Added flexbuffers reader and writer as well as first test (but does not pass) 2023-11-11 23:16:49 +01:00
Patrick Urbanke c206699f64 Removed type names with leading underscore followed by capital letter; #9 2023-11-11 14:11:29 +01:00
liuzicheng1987 9aeca3b141 Fixed typo 2023-11-08 22:43:35 +01:00
liuzicheng1987 ef74f61e29 Fixed typo 2023-11-08 22:40:41 +01:00
liuzicheng1987 e298aacf37 Fixed typo 2023-11-08 22:40:13 +01:00
liuzicheng1987 26d2ae2a28 Update README.md 2023-11-08 22:39:53 +01:00
liuzicheng1987 d87e1a4a28 Create backwards_compatability.md 2023-11-08 22:37:35 +01:00
Patrick Urbanke 5694c24727 Allow for additional optional fields in std::tuple 2023-11-08 21:59:18 +01:00
Patrick Urbanke 540af2d0cb Merge branch 'main' of github.com:getml/reflect-cpp 2023-11-08 21:32:44 +01:00
Patrick Urbanke 63a9de90b3 Added thread-safe memoization 2023-11-08 21:32:31 +01:00
liuzicheng1987 885b214b91 Added algebraic data types 2023-11-07 19:29:03 +01:00
liuzicheng1987 d61544d5f6 Merge pull request #12 from getml/f/anonymous_structs
Anonymous fields
2023-11-07 19:21:23 +01:00
liuzicheng1987 191dbe5d3a Update README.md 2023-11-07 19:20:09 +01:00
liuzicheng1987 25c58c44ff Added documentation for anonymous fields 2023-11-07 19:17:49 +01:00
liuzicheng1987 7df42fd05c Included anonymous fields in README 2023-11-07 19:00:51 +01:00
Patrick Urbanke 6d098ae36c Fixed the validator so it can be supported as an anonymous field 2023-11-07 18:21:59 +01:00
Patrick Urbanke 1e11d26c8c Added tests for the anonymous fields 2023-11-06 23:44:51 +01:00
Patrick Urbanke d75fc3d5b6 Added some standard methods to the validator 2023-11-06 23:44:30 +01:00
Patrick Urbanke 91cba55edb Added reading and writing for anonymous fields 2023-11-06 21:10:03 +01:00
Patrick Urbanke 57dad0df3f Began implementing support for anonymous structs 2023-11-05 20:09:29 +01:00
liuzicheng1987 b85f1bba4f Minor changes to the README 2023-11-05 13:21:43 +01:00
liuzicheng1987 d4c414a187 Update README.md 2023-11-05 13:19:21 +01:00
Patrick Urbanke 08806d1ebf Added qualifications to the comments regading Box and Ref 2023-11-05 13:16:51 +01:00
liuzicheng1987 31bf994669 Added a qualification about std::move and rfl::Box 2023-11-05 13:13:42 +01:00
Patrick Urbanke 0b94bf5aeb Added std::hash and std::swap for Box and Ref 2023-11-05 13:01:21 +01:00
Patrick Urbanke 6bf95a3c20 Minor code beautifications 2023-11-05 12:10:18 +01:00
liuzicheng1987 3ada70cd22 Fixed typo 2023-11-05 12:03:09 +01:00
liuzicheng1987 3e8bb0664b Added Result to the basics 2023-11-05 11:58:02 +01:00
liuzicheng1987 e3f561c89e Added documentation on how to use rfl::Result for parsing 2023-11-05 11:51:16 +01:00
Patrick Urbanke a5b99f48be Merge branch 'main' of github.com:getml/reflect-cpp 2023-11-05 11:38:45 +01:00