Avatar
Kishikawa Katsumi 8/29/2019 7:26 AM
bad_allocとかが飛んでたら catch (...) { <= この ... は文字どおり ... です、とかで捕まえられるかも。 それかreallocを入れ替えるとか。