2007-09-20から1日間の記事一覧
ええええこんなのあったのかああああ. #include <iostream> class A { public: int value; A() try : value(0) // 初期化リストは普通だがtry文までもが!? { std::cout << "throw exception" << std::endl; throw "fire"; } catch (...) { std::cout << "catch exce</iostream>…
ええええこんなのあったのかああああ. #include <iostream> class A { public: int value; A() try : value(0) // 初期化リストは普通だがtry文までもが!? { std::cout << "throw exception" << std::endl; throw "fire"; } catch (...) { std::cout << "catch exce</iostream>…