3 ms·
Then they don't care about applications being terminated in case of std::bad_alloc and similar. The crucial applications they use are written by others (like t
by waltersx 6y ago
Then they don't care about applications being terminated in case of std::bad_alloc and similar.
The crucial applications they use are written by others (like the Linux kernel).
Also, having seen the output of several Googlers, I think their code quality is overrated.
- pjmlp 6y agoauto ptr = new (std::nothrow) ...... if (ptr != nullptr) { //........ } Regarding STL, allocators with similar behavior can be provided.
- pansa2 6y ago> Then they don't care about applications being terminated in case of std::bad_alloc and similar. No, they don't: https://youtu.be/NOCElcMcFik?t=2304 https://youtu.be/NOCElcMcFik?t=2304