Skip to content

iguana支持匿名类么?该如何写 #645

Answered by qicosmos
171930433 asked this question in Q&A
Discussion options

You must be logged in to vote

这应该是一个bug,你先用这个方法绕过去,我晚点修复一下这个bug

struct AS {
  struct IAS {
    double y;
  };

  double x;
  IAS x2;
};

using IAS = AS::IAS;
REFLECTION(IAS, y);
REFLECTION(AS, x, x2);

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@171930433
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by 171930433
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #644 on March 21, 2024 03:41.