Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
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
Ownership on move constructor with vector
c++
copy_constructor
move_constructor
2 Votes
4 Answers
17th May 2021, 7:05 PM
Ketan Lalcheta
When no copy constructor is defined, the compiler supplies its own copy comstructor.
c++
constructors
copy
copy_constructor
1 Vote
5 Answers
12th Jun 2017, 6:58 PM
Akshit Agarwal
Is there any difference between creating new object with the default copy constructor and declaring a reference to it?
c++
copy_constructor
reference
0 Votes
1 Answer
26th Nov 2016, 3:29 PM
Marcell Juhasz
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
Why is copy constructor not called while function return?
c++
constructor
copy_constructor
help
0 Votes
2 Answers
11th Jun 2021, 1:30 PM
Gideon
Copy constructor
c++
const
copy_constructor
l_value
r_value
reference
1 Vote
12 Answers
29th May 2020, 8:30 PM
Ketan Lalcheta
unique_ptr with vector resize
c++
copy_constructor
memory
move_contructor
unique_ptr
vector
2 Votes
2 Answers
14th Feb 2021, 12:37 PM
Ketan Lalcheta
Need of universal reference
c++
c++11
copy_constructor
l-value
move_constructor
perfect_forwarding
r-value
universal_reference
1 Vote
1 Answer
23rd Oct 2021, 6:49 PM
Ketan Lalcheta
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
What is a web browser intension?
1 Votes
Mentors
1 Votes
Thread local : global vs local
0 Votes
python
0 Votes
Postgrrsql and python
0 Votes
What are these purple cubes good for?
0 Votes
Codding lern
0 Votes
Data Analysis Course
1 Votes
Is there LUA?
0 Votes
url of code playground for HTML, CSS & JS
0 Votes