The initial syntax #2
alex-ganyukhin
started this conversation in
Ideas
Replies: 1 comment
-
enum class test_enum {
some_val
};
struct Nested_type
{
int int_field_1;
int int_field_2;
};
struct To_serialize
{
[[= rorm::as("name_goes_here") ]]
std::string str_field_1;
[[= rorm::skip ]]
std::string str_field_2;
[[= rorm::as<std::string> ]]
test_enum enum_field_1;
[[= rorm::as<underlying> ]]
test_enum enum_field_2;
[[= rorm::as("name_goes_here") ]]
Nested_type nested_value_1;
[[= rorm::skip ]]
Nested_type nested_value_2;
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The goal is to define the syntax for the library for the initial scope ( https://github.com/alex-ganyukhin/rorm-pp/milestone/1 )
Beta Was this translation helpful? Give feedback.
All reactions