New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Query on Smart pointer implementation
c++
implementation
smart_pointer
0 Votes
5 Answers
1st Nov 2021, 5:40 PM
Ketan Lalcheta
Basic Question : why pointer to class is needed
c++
heap
smart_pointer
1 Vote
2 Answers
8th Nov 2022, 7:01 PM
Ketan Lalcheta
how smart pointer can be implemented
c++
implementation
smart_pointer
2 Votes
1 Answer
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 Answers
23rd Jan 2022, 5:52 PM
Ketan Lalcheta
which one is better between make_unique and new
c++
make_unique
memory
smart_pointer
1 Vote
7 Answers
19th Nov 2020, 8:05 AM
Ketan Lalcheta
How can I Replace raw pointers with Smart pointers?
c++
raw_pointer
smart_pointer
unique_ptr
0 Votes
3 Answers
6th Sep 2019, 10:28 PM
Alireza Abbasi
how to implement make_shared
c++
make_shared
memory
smart_pointer
1 Vote
2 Answers
8th Jun 2021, 1:56 PM
Ketan Lalcheta
What's wrong in copy constructor [solved]
c++
copy_constructor
memory
smart_pointer
1 Vote
2 Answers
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 Answers
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 Answers
4th Dec 2023, 3:18 PM
Ketan Lalcheta
Smart pointer | destructor on exception
c++
destructor
exception
shared_ptr
smart_pointer
2 Votes
2 Answers
10th Aug 2021, 3:23 PM
Ketan Lalcheta
object destruction from heap | linked list using smart pointer
c++
linkedlist
memory
pointer
smart_pointer
1 Vote
3 Answers
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 Answers
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 Answer
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 Answers
16th Aug 2021, 2:05 PM
Ketan Lalcheta
Weak pointer | lock()
c++
count
memory
shared_ptr
smart_pointer
weak_ptr
1 Vote
3 Answers
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 Votes
2 Answers
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 Answers
6th Oct 2021, 8:32 AM
Ketan Lalcheta
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Can someone please help with python code?
1 Votes
Is there a builtin way to reference a while loop condition without restating it?
1 Votes
USING HTML ONLY!!!
4 Votes
I do understand a bit of code but can't make anything out of it
1 Votes
Why is the result always 0?
1 Votes
[SOLVED] What problem in this program..?
2 Votes
Problem
0 Votes
Game Devolopment with JS
0 Votes
I need help with beginner level of python
0 Votes
Can anyone help me to make the border in a perfect shape !!
0 Votes