Skip to content

Commit

Permalink
compile
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Sep 5, 2024
1 parent 77ffd96 commit 9a37ca7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/test_cpp20.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@ struct point_t {
int y;
};
REQUIRED(point_t, x, y);
#if __cplusplus < 202002L
YLT_REFL(point_t, x, y);
#endif

struct point_t1 {
int x;
int y;
};
#if __cplusplus < 202002L
YLT_REFL(point_t1, x, y);
#endif

template <>
struct ylt::reflection::ylt_alias_struct<point_t1> {
Expand All @@ -39,9 +35,7 @@ struct test_variant {
std::variant<double, std::string, int> y;
double z;
};
#if __cplusplus < 202002L
YLT_REFL(test_variant, x, y, z);
#endif

struct test_variant1 {
std::variant<double, std::string, int> x;
Expand Down

0 comments on commit 9a37ca7

Please sign in to comment.