Hello, is there a reason thy TAxis::operator== is private? In addition it seems to be not implemented at all
Hi,
Do you mean the operator equality or the assignment operator?
[quote]In addition it seems to be not implemented at all[/quote]Either way … the pattern of not implementing and making private one of the method is usually that the default implementation (provided by the compiler) is inappropriate/incorrect and that supporting the operation is iffy (and/or confusing).
Cheers,
Philippe.
[quote=“pcanal”]Hi,
Do you mean the operator equality or the assignment operator?
[quote]In addition it seems to be not implemented at all[/quote]Either way … the pattern of not implementing and making private one of the method is usually that the default implementation (provided by the compiler) is inappropriate/incorrect and that supporting the operation is iffy (and/or confusing).
Cheers,
Philippe.[/quote]
Sorry, I mean operator=. Why you don’t want to provide it? It seems strange that you provide a copy constructor and not a operator=
Hi,
[quote]Why you don’t want to provide it?[/quote]Lack of request for it (and because it is ‘slightly’ harder to get right due to resource allocation/deallocation.
Anyway, thanks for the request and it is now implemented in the trunk (revision 43736).
Cheers,
Philippe.