Courses
LoginStart now
Courses
LoginStart now

Q&A Discussions

can somebody explain why a refrence must be passed as an argument to copy constructor?
c++copy_constructor
0 Votes
9 Answers
29th Jul 2020, 2:09 AM
Janak Sharma
Janak Sharma - avatar
Ownership on move constructor with vector
c++copy_constructormove_constructor
2 Votes
4 Answers
17th May 2021, 7:05 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
When no copy constructor is defined, the compiler supplies its own copy comstructor.
c++constructorscopycopy_constructor
1 Vote
5 Answers
12th Jun 2017, 6:58 PM
Akshit Agarwal
Akshit Agarwal - avatar
Is there any difference between creating new object with the default copy constructor and declaring a reference to it?
c++copy_constructorreference
0 Votes
1 Answer
26th Nov 2016, 3:29 PM
Marcell Juhasz
What's wrong in copy constructor [solved]
c++copy_constructormemorysmart_pointer
1 Vote
2 Answers
2nd Mar 2021, 5:02 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
Why is copy constructor not called while function return?
c++constructorcopy_constructorhelp
0 Votes
2 Answers
11th Jun 2021, 1:30 PM
Gideon
Gideon - avatar
Copy constructor
c++constcopy_constructorl_valuer_valuereference
1 Vote
12 Answers
29th May 2020, 8:30 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
unique_ptr with vector resize
c++copy_constructormemorymove_contructorunique_ptrvector
2 Votes
2 Answers
14th Feb 2021, 12:37 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
Need of universal reference
c++c++11copy_constructorl-valuemove_constructorperfect_forwardingr-valueuniversal_reference
1 Vote
1 Answer
23rd Oct 2021, 6:49 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
Hot today
Fix code
0 Votes
Fast coding (mobile)
1 Votes
..
1 Votes
Beginner_to_SoloLearn
2 Votes
Coding help
2 Votes
How to learn C++ and how long does it take
1 Votes
DSA doubt
1 Votes
Bridge pattern use case
0 Votes
Recover challenge history
0 Votes
Data structure using C
0 Votes