[PATCH] D38216: [C++17] Fix class template argument deduction for default constructors without an initializer
Nicolas Lesser via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 11 06:43:49 PST 2017
Rakete1111 added a comment.
@lichray Isn't [dcl.type.auto.deduct] only for `auto` and `decltype(auto)`? Class template argument deduction is in [dcl.type.class.deduct], which doesn't seem to disallow declarations without an initializer.
About that `extern` business, yes that's indeed counter intuitive and weird. Couldn't find anything in the standard prohibiting this though, but I'm not so good at that either.
https://reviews.llvm.org/D38216
More information about the cfe-commits
mailing list