+ 1

How to ensure function does not modify shared pointer

How to avoid function modifying shared or unique pointer modified by using ptr.reset

14th Jul 2025, 11:44 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
2 Respuestas
0
Idk like be sure or somethn
14th Jul 2025, 2:04 PM
LardMan
LardMan - avatar
0
check if pointer is null?
14th Jul 2025, 2:25 PM
Bob_Li
Bob_Li - avatar