On Fri, 05 Jun 2015 18:35:49 +0000, Marc Schütz wrote: > On Friday, 5 June 2015 at 17:50:55 UTC, ketmar wrote: >> `const int` works, so i can't see why `auto auto` is failing. > > Wrong analogy. Try `const const`, and it will fail with the same error > as `auto auto`: "redundant attribute".
nope. in `auto auto` one `auto` is storage type, and another `auto` is a type placeholder. see, `const auto` works, so `auto` can play role of a type placeholder. so `auto auto` should be accepted, if you insists that it can play a role of storage class.
signature.asc
Description: PGP signature
