• Cursos
  • Code Compiler
  • Discussão
  • Preços
  • Equipas
Menu
+ 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?

c++pointersshareduniqe
12th Apr 2020, 5:17 PM
SanCur
1 Resposta
+ 1
hi there you will find your answer here. https://www.google.com/url?sa=t&source=web&rct=j&url=https://stackoverflow.com/questions/106508/what-is-a-smart-pointer-and-when-should-i-use-one&ved=2ahUKEwjRi6zz0-PoAhVV73MBHdY4DSAQFjAOegQICBAB&usg=AOvVaw1KjwNjcT-BTUQhvMpHOAxT
12th Apr 2020, 7:48 PM
minirkk
minirkk - avatar

Tens frequentemente perguntas como esta?

Aprende de forma mais eficiente, gratuitamente:

  • Introdução ao Python

    7,1M de estudantes

  • Introdução ao Java

    4,7M de estudantes

  • Introdução ao C

    1,5M alunos

  • Introdução ao HTML

    7,5M alunos

Ver todos os cursos
Popular hoje
What does coding means for you?
1 Votes
WebGPU support
1 Votes
does anyone do flask
1 Votes
Query about other courses
0 Votes
ok i am devolp website which programing language iam should learn
1 Votes
how do I delete the card so that my subscription is no longer charged?
0 Votes
Please,how do you send info from a form to another page
0 Votes
What code is used to write a mobile application? С помощью какого (каких) кода написано мобильное приложение?
0 Votes
Pro Monthly Subscription is Cheaper than Annual Subscription ?
0 Votes
Ee
0 Votes