
2 Apr
2004
2 Apr
'04
1:25 a.m.
"Thorsten Ottosen" <nesotto@cs.auc.dk> wrote in message news:c4i8sj$947$1@sea.gmane.org...
Hi Alexander,
"Alexander Nasonov" <alnsn-mycop@yandex.ru> wrote in message news:c4hmul$uuc$1@sea.gmane.org...
I like the idea. However, I argue with some design decisions. The biggest problem is that it's too easy to add operator+= to any container-like class.
What would you prefer then?
I also believe that providing template method for global operator += is not good idea. What you could do is to provide an operator += specialization for stl containers and support initialization in a form: init( C ) += ... as a generic solution. Gennadiy.