Skip to content

Support reflection of attribute with simple type argument - #325

Merged
zebullax merged 1 commit into
p2996from
typeArgAttr
Jun 16, 2026
Merged

Support reflection of attribute with simple type argument#325
zebullax merged 1 commit into
p2996from
typeArgAttr

Conversation

@zebullax

@zebullax zebullax commented Jun 16, 2026

Copy link
Copy Markdown

Support reflection of attributes that have a single type arguments

static_assert(^^[[gsl::Owner(int)]] != ^^[[gsl::Owner(float)]]);

Because they have dedicated cstr, we cant rely on the usual extraction of argument to pass to generic ParsedAttr cstr...

Implementation needs a refactor ... likely we want to inject a cloneSyntacticAttr() from table gen rather than this weird callback with argument passing

Signed-off-by: acassagnes <acassagnes@bloomberg.net>

Stash

Profile type args

Add test
@zebullax zebullax changed the title Support simple type argument Support reflection of attribute with simple type argument Jun 16, 2026
@zebullax
zebullax merged commit a56e703 into p2996 Jun 16, 2026
11 checks passed
@zebullax
zebullax deleted the typeArgAttr branch June 16, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant