Cours
Se connecter
Commencer à apprendre l'IA
Cours
Se connecter
Commencer à apprendre l'IA
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Query on Smart pointer implementation
c++
implementation
smart_pointer
0 Vote
5 Réponses
1st Nov 2021, 5:40 PM
Ketan Lalcheta
Basic Question : why pointer to class is needed
c++
heap
smart_pointer
1 Vote
2 Réponses
8th Nov 2022, 7:01 PM
Ketan Lalcheta
how smart pointer can be implemented
c++
implementation
smart_pointer
2 Votes
1 Réponse
28th Dec 2020, 3:03 PM
Ketan Lalcheta
Is this way to implement weak pointer as member is correct or not?
c++
shared_ptr
smart_pointer
weak_pointer
4 Votes
5 Réponses
23rd Jan 2022, 5:52 PM
Ketan Lalcheta
Need of enable shared from this
c++
shared_ptr
smart_pointer
0 Vote
1 Réponse
17th May 2025, 9:12 AM
Ketan Lalcheta
which one is better between make_unique and new
c++
make_unique
memory
smart_pointer
1 Vote
7 Réponses
19th Nov 2020, 8:05 AM
Ketan Lalcheta
Where make_unique is better than unique_ptr(raw pointer)
c++
make_unique
memory
smart_pointer
unique_ptr
0 Vote
8 Réponses
30th Jul 2025, 6:29 PM
Ketan Lalcheta
How can I Replace raw pointers with Smart pointers?
c++
raw_pointer
smart_pointer
unique_ptr
0 Vote
3 Réponses
6th Sep 2019, 10:28 PM
Alireza Abbasi
how to implement make_shared
c++
make_shared
memory
smart_pointer
1 Vote
2 Réponses
8th Jun 2021, 1:56 PM
Ketan Lalcheta
What's wrong in copy constructor [solved]
c++
copy_constructor
memory
smart_pointer
1 Vote
2 Réponses
2nd Mar 2021, 5:02 PM
Ketan Lalcheta
Query on use_count of shared pointer
c++
shared_pointer
smart_pointer
use_count
1 Vote
2 Réponses
3rd Sep 2023, 7:53 AM
Ketan Lalcheta
Migrate from raw to smart pointer
c++
observer_pattern
pointer
shared_pointer
smart_pointer
1 Vote
6 Réponses
4th Dec 2023, 3:18 PM
Ketan Lalcheta
Smart pointer | destructor on exception
c++
destructor
exception
shared_ptr
smart_pointer
2 Votes
2 Réponses
10th Aug 2021, 3:23 PM
Ketan Lalcheta
Remove raw pointer from observer design pattern
c++
observer_pattern
pointers
raw_pointer
smart_pointer
0 Vote
4 Réponses
15th Feb 2025, 1:46 PM
Ketan Lalcheta
object destruction from heap | linked list using smart pointer
c++
linkedlist
memory
pointer
smart_pointer
1 Vote
3 Réponses
16th Feb 2021, 5:14 PM
Ketan Lalcheta
Shared pointer use count after reset
c++
reset
shared_pointer
smart_pointer
use_count
1 Vote
2 Réponses
29th Aug 2023, 9:09 AM
Ketan Lalcheta
Why type is not required for smart pointer of type shared pointer?
c++
data-types
shared_ptr
smart_pointer
template
1 Vote
1 Réponse
24th Jul 2021, 3:33 PM
Ketan Lalcheta
How to comprare weak_ptr with shared_ptr
c++
circular
destructor
linked_list
memory
smart_pointer
1 Vote
4 Réponses
16th Aug 2021, 2:05 PM
Ketan Lalcheta
Weak pointer | lock()
c++
count
memory
shared_ptr
smart_pointer
weak_ptr
1 Vote
3 Réponses
19th May 2021, 8:27 PM
Ketan Lalcheta
Isn't it bad if we use unique pointer in this case
c++
chainofresponsibility
cor
shared_ptr
smart_pointer
unique_ptr
0 Vote
2 Réponses
2nd Oct 2023, 7:51 AM
Ketan Lalcheta
Need for custom deleter
c++
constructor
customdeleter
destructor
heap
make_shared
memory
shared_ptr
smart_pointer
2 Votes
2 Réponses
6th Oct 2021, 8:32 AM
Ketan Lalcheta
Poser une question
Poser une question
Poser une question
Poser une question
Aujourd'hui en vedette
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
1 Votes
??
1 Votes
Give some simple practice questions in C
0 Votes
How many program that you've made even a smaal project are good?
0 Votes
Hello guys,
1 Votes
Help me
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Programming
0 Votes
how do they use javascript
0 Votes
Code coach isn't awarding xp
0 Votes