
28 Nov
2012
28 Nov
'12
11:47 a.m.
On Wed, Nov 28, 2012 at 3:42 PM, GAURAV GUPTA <ya1gaurav@gmail.com> wrote:
hello,
The patch is not valid since it disables assignment. The compiler-generated assignment is suitable, the copy constructor probably doesn't have to be user-defined as well.
But the tool I am using is reporting me the above error. If i remove the copy constructor, then it will report error for *Missing copy* error also. So how can I fix it?
You can explicitly define the assignment operator. But the reported error is bogus in this case. PS: Please, don't top-post.