Commit Graph
352 Commits
Author SHA1 Message Date
zerol 4cb37f4d30 give up on Windows CI 2023-12-17 10:41:35 +08:00
zerol eb4da9ec9a try to fix windows ci again 2023-12-16 21:04:52 +08:00
zerol df9844c95c try to fix windows ci again 2023-12-16 19:57:29 +08:00
zerol bd2cc44b8a make json support out-of-box 2023-12-16 19:27:30 +08:00
zerol b2b2b28b9b try to change compiler version 2023-12-16 19:13:15 +08:00
zerol 5798238c40 revert the rename 2023-12-16 19:03:56 +08:00
zerol e77a5a66da try to fix windows ci 2023-12-16 18:56:30 +08:00
zerol 359a21d905 ci 2023-12-16 00:31:02 +08:00
liuzicheng1987 8dbaf140b6 Fixed typo 2023-12-14 22:40:11 +01:00
Patrick Urbanke a547abd8c1 Added support for flag enums; handle unidentified enums v0.2.0 2023-12-14 19:38:52 +01:00
liuzicheng1987 79c24add9a Merge pull request #20 from ChemiCalChems/reduce-boilerplate
Reduce boilerplate 2, electric boogaloo, and extras
v0.1.0
2023-12-10 12:52:18 +01:00
Patrick Urbanke ea3a56c0f7 Merge branch 'main' of github.com:getml/reflect-cpp 2023-12-09 22:45:07 +01:00
Patrick Urbanke 7ab3026dbe Fixed minor issues in the enum name extraction 2023-12-09 22:44:38 +01:00
Txema Ynzenga 28c602e195 Remove boilerplate to rfl::internal::to_ptr_field_tuple
Also ensure the same behavioral changes that happened to
move/copy_to_field_tuple are actual for to_ptr_field_tuple by wrapping
in fields if necessary
2023-12-09 21:50:37 +01:00
Txema Ynzenga b86d2078e1 Remove boilerplate from rfl::internal::move_to_field_tuple 2023-12-09 21:21:10 +01:00
Txema Ynzenga 0a86ff352d Remove boilerplate from rfl::internal::to_ptr_tuple 2023-12-09 21:05:56 +01:00
Txema Ynzenga cc6e4351be Add rfl::internal::bind_to_tuple 2023-12-09 21:05:56 +01:00
liuzicheng1987 a26b3303ee Update README.md 2023-12-09 13:32:46 +01:00
Patrick Urbanke e416283e41 Added support for enums; #3 2023-12-09 13:27:57 +01:00
Patrick Urbanke c95c1f4b05 Added documentation on refleciton on general 2023-12-08 00:50:10 +01:00
Patrick Urbanke 2c761efdcd Included the meta field retrieval 2023-12-08 00:13:14 +01:00
Patrick Urbanke 385f6434c5 Make sure that we can retrieve the type names and tags at compile time 2023-12-07 23:18:06 +01:00
Patrick Urbanke 243b40ca4c Removed obsolete file 2023-12-06 23:27:55 +01:00
liuzicheng1987 71744d01c7 Update README.md 2023-12-06 23:00:59 +01:00
Patrick Urbanke 5e0de0246c Added support for compile-time field name retrieval 2023-12-06 22:52:00 +01:00
liuzicheng1987 0937123c06 Merge pull request #19 from ChemiCalChems/reduce-boilerplate
Reduce boilerplate
2023-12-06 22:04:36 +01:00
Txema Ynzenga ae58ddab5f Remove boilerplate from rfl::internal::get_field_names
Also delete rfl::internal::get_field_name_ptrs, its previous purpose was
to store boilerplate but after the previous commit, and it only being
used in one place, it can be removed without issues
2023-12-06 17:47:11 +01:00
Txema Ynzenga 963465a0ab Remove boilerplate in rfl::internal::get_field_name_ptrs 2023-12-06 17:33:23 +01:00
Txema Ynzenga decaf003e2 Make rfl::internal::to_ptr_tuple constexpr 2023-12-06 17:31:12 +01:00
Txema Ynzenga 9944b743d0 Add rfl/internal/num_fields.hpp 2023-12-06 16:05:25 +01:00
liuzicheng1987 b3ce5d5ff7 Merge pull request #18 from eel76/patch-1
Fix pragma warning push/pop asymmetry
2023-12-05 14:42:46 +01:00
Dirk Reinbach 264e1b6358 Fix pragma warning push/pop asymmetry 2023-12-05 14:09:18 +01:00
Patrick Urbanke 2e3872c651 Fixed -fsanitize=undefined issue; #16, possibly #15 2023-12-04 20:16:09 +01:00
Patrick Urbanke cbfdf44356 Added note that structs should not be defined inside function; #15 2023-12-04 19:45:09 +01:00
Patrick Urbanke bb1a8c978e Minor fix in the README 2023-12-04 19:42:43 +01:00
Patrick Urbanke 12a33d2a9c Removed section 'Current status' 2023-12-03 20:23:36 +01:00
Patrick Urbanke 2ac920ad11 Update the README to reflect information on MSVC 2023-12-03 20:17:17 +01:00
Patrick Urbanke b84453a099 Disable false positives in MSVC compilation 2023-12-03 20:16:42 +01:00
Patrick Urbanke 395118de92 Rewrote the tests for flexbuffers 2023-12-03 20:03:00 +01:00
Patrick Urbanke c92f1d0b33 get_struct_name for MSVC 2023-12-03 17:38:25 +01:00
Patrick Urbanke f2fb381063 Made sure that struct names can be retrieved on MSVC 2023-12-03 17:04:12 +01:00
Patrick Urbanke 1382a2a505 Compile the JSON tests separately 2023-12-03 16:52:24 +01:00
Patrick Urbanke fc6da99f93 Minor fixes to the time stamps 2023-12-03 16:02:05 +01:00
Patrick Urbanke 1b7c95942b Added compiler instructions for MSVC 2023-12-03 14:31:06 +01:00
Patrick Urbanke 38b7ac81c7 added a strptime implementation for MSVC 2023-12-02 23:05:41 +01:00
Patrick Urbanke 013325fcab Minor tweaks to make sure things work on MSVC 2023-12-02 21:54:05 +01:00
liuzicheng1987 317c58921d Fixed typo 2023-11-29 20:46:16 +01:00
Patrick Urbanke fd92304a1c Minor bugfix: Make sure that is_required is maintained inside Rename 2023-11-29 20:44:02 +01:00
Patrick Urbanke f0945fdd27 Got rid of ugly warning 2023-11-29 20:42:51 +01:00
Patrick Urbanke aecff5835a Merge branch 'f/field_name_retrieval' 2023-11-29 20:05:03 +01:00