-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Clang C++20 Feature: P0732R2 - Class Types in Non-Type Template Parameters #54297
Comments
@llvm/issue-subscribers-c-20 |
I'd like to know the status of this feature.
The reason I ask is that I am implementing a feature in the sqlite_orm library that relies heavily on "compile time" strings as template parameters. |
I think it is fully implemented (in Clang 12) except some issues with MSVC compatibility (see https://reviews.llvm.org/D146386). Clang C++ status table has just a common cell for it and P1907R1. Even P1907R1 was almost fully implemented back in 2021 but reverted. |
It doesn't seem quite fully implemented, for instance it's missing floats: https://godbolt.org/z/aa8n5qPYs |
No, it's another feature: P1907R1. |
Seems that member functions of a class-type variadic class template must currently be declared inline. Moving them out of the function definition throws an error
|
Status page indicates this is available from LLVM 12 |
id: P0732R2
paper: https://wg21.link/p0732r2
partially implemented: status unknown
The text was updated successfully, but these errors were encountered: