ilto:pyt...@mrabarnett.plus.com>> wrote:
On 2018-09-15 19:47, Ajay Patel wrote:
>
> I have created below code and i want to restrict an object copy.
> What are the methods called for copy constructor and assignment
operator? Basically i don't want to allow b
On 2018-09-15 19:47, Ajay Patel wrote:
I have created below code and i want to restrict an object copy.
What are the methods called for copy constructor and assignment operator?
Basically i don't want to allow below operation.
p = Point(1,3)
p2 = Point(6,7)
=> How to disall
I have created below code and i want to restrict an object copy.
What are the methods called for copy constructor and assignment operator?
Basically i don't want to allow below operation.
p = Point(1,3)
p2 = Point(6,7)
=> How to disallow below operations?
p(p2)
p = p2
Please p