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