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

Template splicers in Type constraints #32

Open
katzdm opened this issue Apr 11, 2024 · 0 comments
Open

Template splicers in Type constraints #32

katzdm opened this issue Apr 11, 2024 · 0 comments
Assignees
Labels
feature Feature or behavior from P2996 that is yet to be implemented

Comments

@katzdm
Copy link
Collaborator

katzdm commented Apr 11, 2024

It is not yet possible to use template splicers in type constraints, e.g.,

template <typename T>
concept Concept = requires { requires true; };

constexpr auto R = ^Concept;

template [:R:] auto V = 14;

template <[:R:] V> void fn() {}
@katzdm katzdm added the feature Feature or behavior from P2996 that is yet to be implemented label Apr 11, 2024
@katzdm katzdm self-assigned this Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature or behavior from P2996 that is yet to be implemented
Projects
None yet
Development

No branches or pull requests

1 participant