liuzicheng1987
5fb4d6a785
Merge pull request #49 from melton1968/main
...
Two tiny changes to fix compilation errors on the clang / Dawwin platform.
2024-01-13 23:59:44 +08:00
Mark Melton
6a65d01a26
Two small fixes for clang/Darwin build
...
On clang/Darwin, the array member `arr_` in StringLiteral was not
considered initalized when constructed using "". Adding default
initialization fixed the issue.
On clang/Darwin, std::string was not defined in Result.hpp. Including
<string> fixed the issue.
2024-01-12 16:43:13 -05:00
liuzicheng1987
cc3460cee7
Update structs.md because you now can declare them inside functions
2024-01-08 08:28:14 +08:00
Patrick Urbanke
05b6955358
Added missing header; #46
2024-01-07 23:09:00 +01: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
30adc5c614
Version 0.6.0
v0.6.0
2024-01-05 01:29:36 +01:00
Patrick Urbanke
bf60ca0c86
Merge branch 'hazby2002-main'
2024-01-05 00:56:14 +01:00
Patrick Urbanke
5e9a660fa2
Fixed return type
2024-01-04 22:19:52 +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
Patrick Urbanke
03f6f2ef44
Moved Array.hpp and wrap_in_rfl_array_t into internal
2024-01-04 04:39:36 +01:00
Patrick Urbanke
a89cca0a94
Added explanatory comments to num_fields.hpp
2024-01-04 04:14:42 +01:00
Patrick Urbanke
f4d2cf57d7
Simplified flatten_c_arrays
2024-01-03 23:13:33 +01:00
Patrick Urbanke
f9f5cc7792
Got rid of stray OutputValue.hpp
2024-01-03 17:43:50 +01:00
Patrick Urbanke
d6f3fa510d
Got rid of the reinterpret_casts
2024-01-03 17:40:42 +01:00
Patrick Urbanke
fe441a2d9d
Apply 'composition over inheritance' to rfl::Array
2024-01-03 16:56:40 +01:00
Patrick Urbanke
e01ff0b3b1
Some more adaptations
2024-01-03 16:40:43 +01:00
Patrick Urbanke
7a5b53b85d
Replaced all decay_t with cvref_t
2024-01-03 15:50:52 +01:00
Patrick Urbanke
11c80d4e89
Resolved merge conflicts
2024-01-03 15:49:14 +01:00
Patrick Urbanke
5c81e40f09
Redesigned the writer ( #36 ) and added YAML support based on the new writer ( #23 )
2024-01-03 07:22:36 +01:00
hazby2002
c6d3012510
Remove Result<c-array>.
2024-01-02 18:17:32 +08:00
hazby2002
804e0ed868
Wrap C arrays with rfl::Array.
2024-01-02 15:27:11 +08:00
hazby2002
12007f3eab
Add tests for writing c arrays.
2024-01-02 13:49:02 +08:00
hazby2002
fe956b3779
Implement read operation of Parser for c-arrays.
2024-01-02 13:38:51 +08:00
hazby2002
df26f6df6c
Implement write operation of Parser for c-arrays.
2024-01-02 13:35:33 +08:00
hazby2002
2d45ddfdc8
Change all decay to remove_cvref.
2023-12-29 17:05:16 +08:00
hazby2002
38783b8907
Fix num_fields to support c-style arrays.
2023-12-29 17:05:16 +08:00
liuzicheng1987
0a524a9893
Merge pull request #42 from ChemiCalChems/compile-time-regex
...
Compile time regex (related to issue #37 )
v0.5.0
2023-12-28 21:50:21 +01:00
liuzicheng1987
aabe753602
Merge branch 'main' into compile-time-regex
2023-12-28 21:49:50 +01:00
Patrick Urbanke
07942bb64d
Added more tests and more includes
2023-12-28 21:00:57 +01:00
liuzicheng1987
c4f12289cd
Merge pull request #44 from GregTheMadMonk/41-missing-headers
...
Minimal fix to #41
2023-12-28 20:30:07 +01:00
liuzicheng1987
092f07fd43
Merge branch 'main' into 41-missing-headers
2023-12-28 20:28:25 +01:00
liuzicheng1987
f597f5fe6d
Merge pull request #38 from ChemiCalChems/relative-includes
...
Change project includes to relative (related to #30 )
2023-12-28 20:20:54 +01:00
GregTheMadMonk
f031b35452
Fix #41 : add an include and a fordward declaration
2023-12-28 21:01:25 +03:00
Txema Ynzenga
f89913f1a3
Use ctre::match in rfl/PatternValidator.hpp instead of std::regex
2023-12-28 13:46:36 +01:00
Txema Ynzenga
b2f515d0e5
Add external dependency: Hanickadot's CTRE v3.8.1
...
Copied directly from https://github.com/hanickadot/compile-time-regular-expressions/blob/v3.8.1/single-header/ctre.hpp
2023-12-28 13:19:48 +01:00
Patrick Urbanke
de6e8ced1c
Bugfix in the Timestamp
2023-12-27 23:57:03 +01:00
Txema Ynzenga
f630d4690e
Add relative include info to README.md
2023-12-26 12:58:31 +01:00
Txema Ynzenga
e30e41183d
Make rfl/to_view.hpp include relative
2023-12-26 12:58:31 +01:00
Txema Ynzenga
a28d649311
Merge rfl/to_view.hpp changes into relative-includes
2023-12-26 12:57:58 +01:00
Txema Ynzenga
564aa19cf9
Add check that includes are relative to Github Actions
2023-12-25 22:09:22 +01:00
Patrick Urbanke
7de20db53e
Added support for rfl::to_view; #32
v0.4.0
2023-12-24 13:50:23 +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