Commit Graph
14 Commits
Author SHA1 Message Date
Dr. Patrick Urbanke (劉自成) e47dfbeb1f Speed up the reflection process (#537) 2025-11-02 22:01:15 +01:00
KostinPavel 732e9fe85f Cleanup includes (#519) 2025-10-13 18:16:14 +02:00
Dr. Patrick Urbanke (劉自成) 29c42010a3 Fix a subtle bug in rfl::to_view (#237) 2024-10-29 20:24:36 +01:00
Daniel SahuandDaniel M. Sahu 9755dda7c6 Increased maximum number of fields from 100 to 256. (#232)
Signed-off-by: Daniel M. Sahu <dan@overland.ai>
Co-authored-by: Daniel M. Sahu <dan@overland.ai>
2024-10-27 15:08:29 +01:00
Dr. Patrick Urbanke (劉自成) 9c9eceab92 Added rfl::Tuple (#160) 2024-07-28 15:35:38 +02:00
Dr. Patrick Urbanke (劉自成) e36994084d Implemented some measures to reduce the compile time; #86 (#120) 2024-06-15 00:26:05 +02:00
Lixin Wei fbeca9b095 Support one-level inheritance cases (#83)
* Substract base class param from num of fields

* Fix comments from @schaumb

* Fix CI

* fix comments from @liuzicheng1987

* fix some comments form @schaumb

* rename some funcs

* one-level inheritance fixed

* fix CI
2024-04-11 16:54:17 +02:00
Patrick Urbanke 696289dbf2 Made sure that we can get field names from structs declared inside functions or unnamed namespaces; #46 2024-01-07 23:05:39 +01:00
hazby2002 38783b8907 Fix num_fields to support c-style arrays. 2023-12-29 17:05:16 +08:00
Txema Ynzenga a28d649311 Merge rfl/to_view.hpp changes into relative-includes 2023-12-26 12:57:58 +01:00
Patrick Urbanke 7de20db53e Added support for rfl::to_view; #32 2023-12-24 13:50:23 +01:00
Txema Ynzenga c5e5815e73 Change project includes to relative 2023-12-23 01:04:57 +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
Txema Ynzenga cc6e4351be Add rfl::internal::bind_to_tuple 2023-12-09 21:05:56 +01:00