Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Represent reflection template arguments with TemplateArgument::StructuralValue #30

Open
katzdm opened this issue Apr 11, 2024 · 1 comment
Labels
refactoring Tech debt, yay

Comments

@katzdm
Copy link
Collaborator

katzdm commented Apr 11, 2024

This project first began shortly before the introduction of TemplateArgument::StructuralValue, but Corentin Jabot kindly pointed out that we can probably replace TemplateArgument::Reflection with TemplateArgument::StructuralValue.

@katzdm katzdm changed the title Replace TemplateArgument::Reflection with TemplateArgument::StructuralValue Represent reflection template arguments with TemplateArgument::StructuralValue Apr 11, 2024
@katzdm katzdm added the refactoring Tech debt, yay label Apr 11, 2024
@katzdm
Copy link
Collaborator Author

katzdm commented May 1, 2024

One thing to note here is that a template instantiation that's been specialized by a reflection may be forced to have internal linkage depending on the entity reflected by its template argument. Investigation will be needed as to whether that characteristic warrants a special template argument kind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Tech debt, yay
Projects
None yet
Development

No branches or pull requests

1 participant