| 27 | static bool next_nothrow_new_fails = false; |
| 28 | |
| 29 | void* operator new(std::size_t n, |
| 30 | const std::nothrow_t&) noexcept |
| 31 | { |
| 32 | if (next_nothrow_new_fails) |
| 33 | { |
| 34 | next_nothrow_new_fails = false; |
| 35 | return 0; |
| 36 | } |
| 37 | return ::operator new(n); |
| 38 | } |
| 39 | |
| 40 | struct fat_executor |
| 41 | { |