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
Patrick Urbanke
7038adb4f5
Updated the test for the tagged union
2023-11-29 19:55:10 +01:00
Patrick Urbanke
12528fe28b
Updated the flexbuffers tests
2023-11-29 19:54:58 +01:00
Patrick Urbanke
9f1ee3fe9b
Documented the capabilities of tags
2023-11-29 19:54:28 +01:00
Patrick Urbanke
72b2f9dcc8
Minor modifications to the README.md
2023-11-29 19:54:13 +01:00
liuzicheng1987
335b6c0cbe
Fixed typo
2023-11-28 20:22:04 +01:00
Patrick Urbanke
f51053d26f
Removed any references to anonymous fields
2023-11-28 20:20:51 +01:00
Patrick Urbanke
fa32896387
Updated the documentation on the field syntax and named tuples
2023-11-28 20:18:14 +01:00
Patrick Urbanke
3a48593bb2
Updated the README
2023-11-28 20:07:51 +01:00
Patrick Urbanke
f81cedb98d
Updated the part on versioning
2023-11-28 20:07:42 +01:00
Patrick Urbanke
44af021371
Use a proper stack trace inside the tests
2023-11-28 20:07:24 +01:00
Patrick Urbanke
8ff4d105c6
Adapted the documentation to the possibility of leaving out rfl::Field
2023-11-28 19:09:41 +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
abe7bd3546
Made sure that automatic field retrieval works in the context of tagged unions
2023-11-27 20:04:30 +01:00
Patrick Urbanke
ac244c082d
Added more features to the automated field name retrieval
2023-11-27 19:51:30 +01:00
Patrick Urbanke
5e6682df5d
Began developing the StructParser
2023-11-23 19:45:18 +01:00