2009-07-08から1日間の記事一覧
Exceptional C++を読んでたら "C++ language doesn't allow you to modify temporaries of builtin type." (適当訳:組み込み型の一時オブジェクトは変更不可) という一文があったのでいろいろ試してみた。 まず int func1() { return 1; } int main() { s…
Exceptional C++を読んでたら "C++ language doesn't allow you to modify temporaries of builtin type." (適当訳:組み込み型の一時オブジェクトは変更不可) という一文があったのでいろいろ試してみた。 まず int func1() { return 1; } int main() { s…