2005-07-21 C++の一般化リテラル そういえばC++の次バージョンの拡張候補(ES053)にリテラルの拡張があった。 http://www.research.att.com/~bs/evol-issues.html こういうの。 string s = String"Hello"; Complex z = Complex"0,PI"; http://www.informit.com/content/images/art_stroustrup_2005/elementLinks/rules.pdf あと、この3ページ目左にあるauto型変数もできると嬉しいかも。