Patrick Urbanke
58d89e717c
Optimizationg for the reader and writer; #68
2024-03-16 09:58:26 +01:00
Patrick Urbanke
58f1e41c83
Added support for monadic operations on the named tuples
2024-03-06 14:21:33 +01:00
Patrick Urbanke
54ffdbc9e9
Split up the enum tests
2024-03-03 10:33:22 +01:00
Patrick Urbanke
091ce65693
Split up test_view
2024-03-03 09:35:52 +01:00
Patrick Urbanke
d1a9bc6b61
Added the JSON schema; #25
2024-03-03 07:09:28 +01:00
Laz
68cdfa8dd4
feat: add support for parsing std::wstrings
2024-02-11 13:04:36 +00: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
Patrick Urbanke
b63c246f92
Made sure that to_named_tuple (and, by extension, rfl::replace) works properly
2024-01-04 21:49:25 +01:00
hazby2002
12007f3eab
Add tests for writing c arrays.
2024-01-02 13:49:02 +08:00
Patrick Urbanke
7de20db53e
Added support for rfl::to_view; #32
2023-12-24 13:50:23 +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
Patrick Urbanke
a547abd8c1
Added support for flag enums; handle unidentified enums
2023-12-14 19:38:52 +01:00
Patrick Urbanke
e416283e41
Added support for enums; #3
2023-12-09 13:27:57 +01:00
Patrick Urbanke
2c761efdcd
Included the meta field retrieval
2023-12-08 00:13:14 +01:00
Patrick Urbanke
5e0de0246c
Added support for compile-time field name retrieval
2023-12-06 22:52:00 +01:00
Patrick Urbanke
44af021371
Use a proper stack trace inside the tests
2023-11-28 20:07:24 +01:00
Patrick Urbanke
456fc33613
Added support for tagged unions without explicitly tagging the structs
2023-11-28 19:09:14 +01:00
Patrick Urbanke
ac244c082d
Added more features to the automated field name retrieval
2023-11-27 19:51:30 +01:00
Patrick Urbanke
7cdd1acc32
Treat numeric map types as keys; #14
2023-11-20 22:10:02 +01:00
Patrick Urbanke
35904c584d
Made sure that validators can be used as keys
2023-11-18 22:22:29 +01:00
Patrick Urbanke
cfcc388480
rfl::Literal can now be used as a key in maps
2023-11-18 16:41:18 +01:00
Patrick Urbanke
f3cd5d04b4
Added struct flattening with tuple
2023-11-15 21:45:09 +01:00
Patrick Urbanke
23eaad1629
Added support for struct flattening in anonymous fields
2023-11-15 00:49:19 +01:00
Patrick Urbanke
992115c6a0
Added test_save_load for JSON
2023-11-12 20:51:00 +01:00
Patrick Urbanke
a2c99ad37d
Added the monster example to the JSON tests
2023-11-12 17:03:31 +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