重複の可能性:
decltype と括弧
ウィキペディアでこれを見つけました:
auto c = 0; // c has type int
auto d = c; // d has type int
decltype(c) e; // e has type int, the type of the entity named by c
decltype((c)) f = c; // f has type int&, because (c) is an lvalue
そして、ideone コンパイラ (C++0x idk が使用するもの) と typeinfo を使用しても、e と f の違いを確認できませんでした。明らかに、それはおそらく私の側では失敗するので、これが最終的な C++ 11 標準の動作であるかどうかを知りたいです。