+ 1
How to ensure function does not modify shared pointer
How to avoid function modifying shared or unique pointer modified by using ptr.reset
2 ответов
0
Idk like be sure or somethn
0
check if pointer is null?
How to avoid function modifying shared or unique pointer modified by using ptr.reset