ん、autoって…

これと前後して最新ドラフトをぼーっと眺めていて初めて気がついたんだけど、storage-classとしてのautoってまだ残っているんですね。

auto x = 5; // OK: x has type int
const auto *v = &x, u = 6; // OK: v has type const int*, u has type const int
static auto y = 0.0; // OK: y has type double
static auto int z; // error: auto and static conflict
auto int r; // OK: r has type int

まあきっと完全に無視できる話だけど

auto c = 'a'; // int -> char
...
c = 1024; // numeric_limits::max() > 1024 but numeric_limits::max() < 1024

とかやってるプログラムがあると嵌るような。他のキーワード無かったんだろか。