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

18.11.4.9: get_constant not actually a UnaryTypeTrait #82

Open
hubert-reinterpretcast opened this issue Sep 23, 2019 · 3 comments
Open

Comments

@hubert-reinterpretcast
Copy link

A constexpr variable may be of class type, so inheriting from integral_constant would not provide a value in the manner described (since non-type template parameters of class type are rather newer than C++14).

@camio
Copy link

camio commented Oct 17, 2019

Sounds like a DR no?

@hubert-reinterpretcast
Copy link
Author

I guess more words may be necessary to describe the type if we do not describe by way of UnaryTypeTrait. What would be the plan to track this then?

@Axel-Naumann
Copy link
Contributor

I agree with David: it looks like a design issue to me; not part of the wording review but an issue that needs to be handled post-publication. Tracking this as a Github issue is fine for me.

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

No branches or pull requests

3 participants