Topic: [c++std-core-27238] An implementation of
Author: Andrew Sutton <asutton.list@gmail.com>
Date: Fri, 6 Mar 2015 14:24:21 -0500
Raw View
> //This is a template
> struct A {
> auto x;
> };
No, it's not. Something in the declaration shouldn't change the nature
of its declaration (apparently except deduced return types). And here's why:
struct A; // Is this a template? Clearly not
struct A {
auto x; // Makes A a template?
};
That's just insane.
Andrew
--
---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.
.