Date: Wed, 28 Oct 2020 16:58:36 -0400
> On Oct 28, 2020, at 4:36 PM, Cleiton Santoia via SG7 <sg7_at_[hidden]> wrote:
>
> Sorry I didn't follow last progress in Reflection.
>
>
>
> Anybody knows if :
>
> namespace X {
> void A() {}
> }
> static_assert ( members_of( reflexpr(X) ).size() == 1 );
>
> namespace X {
> void B() {}
> }
> static_assert ( members_of( reflexpr(X) ).size() == 2 ); // <- size() changes ?
>
> does the second assert fails ?
>
No, it shouldn’t fail.
Daveed
>
> Sorry I didn't follow last progress in Reflection.
>
>
>
> Anybody knows if :
>
> namespace X {
> void A() {}
> }
> static_assert ( members_of( reflexpr(X) ).size() == 1 );
>
> namespace X {
> void B() {}
> }
> static_assert ( members_of( reflexpr(X) ).size() == 2 ); // <- size() changes ?
>
> does the second assert fails ?
>
No, it shouldn’t fail.
Daveed
Received on 2020-10-28 15:58:43