Commit Graph
377 Commits
Author SHA1 Message Date
Txema Ynzenga 564aa19cf9 Add check that includes are relative to Github Actions 2023-12-25 22:09:22 +01:00
Txema Ynzenga c5e5815e73 Change project includes to relative 2023-12-23 01:04:57 +01:00
Patrick Urbanke 8ed390c3bf Suppress GCC warning 2023-12-22 19:43:19 +01:00
Patrick Urbanke 54469a88a5 Use old way of handling reflection types v0.3.1 2023-12-21 23:24:11 +01:00
Patrick Urbanke be7b1932a5 Made sure that attributes are written properly 2023-12-21 22:43:32 +01:00
Patrick Urbanke 6c3e18afa8 Added the XML documentation v0.3.0 2023-12-20 21:51:15 +01:00
Patrick Urbanke 5f0734078c Added flag enums in the README 2023-12-20 21:46:01 +01:00
Patrick Urbanke c5347eee28 Added XML support; #21 2023-12-20 21:07:36 +01:00
Patrick Urbanke 2281849dde Removed all relatives includes; #30 2023-12-20 21:06:11 +01:00
Patrick Urbanke 7a9123fe28 Added more helpful remarks in the README 2023-12-19 22:58:40 +01:00
Patrick Urbanke 87a76193e1 Added virtual destructor to make clang happy 2023-12-19 22:56:28 +01:00
liuzicheng1987 a0e2c1c55f Merge pull request #29 from zerolfx/ci
manage dependency by vcpkg & test with GitHub Actions
2023-12-19 22:15:05 +01:00
zerol 51b6010893 update readme 2023-12-19 22:44:55 +08:00
zerol 7d4c117f6c update readme 2023-12-18 22:38:42 +08:00
Patrick Urbanke 72e29d32e1 std::tuple_size{} to std::tuple_size_v whereever applicable 2023-12-17 21:23:05 +01:00
liuzicheng1987 5f11c1b604 Merge pull request #33 from lixin-wei/main
Fix type error in `no_duplicate_field_names`
2023-12-17 21:05:58 +01:00
Lixin Wei 75ebc0e897 Update no_duplicate_field_names.hpp 2023-12-17 20:04:46 +08:00
zerol c8d19db6da use clang 2023-12-17 11:55:54 +08:00
zerol ab730b2048 minor changes 2023-12-17 10:57:42 +08:00
zerol abdea5f54d Revert "minor changes"
This reverts commit 70746ddeec.
2023-12-17 10:55:48 +08:00
zerol f585a1a96a Merge remote-tracking branch 'origin/main' into ci
# Conflicts:
#	tests/json/CMakeLists.txt
2023-12-17 10:50:31 +08:00
zerol 70746ddeec minor changes 2023-12-17 10:49:25 +08:00
zerol 2910d3a5c0 remove -O2 2023-12-17 10:47:01 +08:00
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
liuzicheng1987 cdcf37453c Merge pull request #31 from ecatmur/std-tie
Serialization of std::reference_wrapper
2023-12-16 11:29:25 +01:00
Ed Catmur f429bd994a Serialization of std::reference_wrapper
Only for serialization - similarly to pointers, this should not be used for deserialization.

As discussed https://github.com/getml/reflect-cpp/pull/20#issuecomment-1857491501 this requires changing the implementation of bind_to_tuple, since std::ref() collapses on a std::reference_wrapper.
2023-12-16 05:31:13 +00: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