+ 1
When should we use shared pointers and when to use uniqe pointers?
Is there a rule when to prefer shared pointers and when to use uniqe pointers? Which of those is the more prefered pointer in cpp?
1 Odpowiedź
Is there a rule when to prefer shared pointers and when to use uniqe pointers? Which of those is the more prefered pointer in cpp?