Когда память интеллектуальных указателей очищается при вызове execv() в программе? ⇐ C++
-
Anonymous
Когда память интеллектуальных указателей очищается при вызове execv() в программе?
I was trying to understand when the memory owned by shared (smart) pointers are cleared on calling execv() from the code.
Assume the following code:
#include class Test { public: ~Test() { std::cout
Источник: https://stackoverflow.com/questions/780 ... -a-program
I was trying to understand when the memory owned by shared (smart) pointers are cleared on calling execv() from the code.
Assume the following code:
#include class Test { public: ~Test() { std::cout
Источник: https://stackoverflow.com/questions/780 ... -a-program
Мобильная версия