I'm aware of questions that answer why it can't be non-member, such as this, but I'm wondering why it still isn't allowed if operator=
is = delete
d. I'm not completely convinced, but wouldn't that resolve all the ambiguity problems?
Asked
Active
Viewed 54 times
0
-
1A deleted function is still part of overloads. – Jarod42 Aug 11 '15 at 00:21
-
hmm... good point. It's also kinda weird to delete a member function, then define it a different way. On the other hand, it does make at least some sense - and without extending the language, make a well defined way to do this. – golvok Aug 11 '15 at 03:06