
9 Jul
2004
9 Jul
'04
4:09 p.m.
"Vladimir Prus" <ghost@cs.msu.su> wrote in message news:200407091141.40483.ghost@cs.msu.su...
But the same user will be equally unprepared to unspecified evaluation order in
A = get(), get(), get();
and in
A.assign_list(get())(get())(get()) ;
There's nothing specific about operator,();
There is, sigh. operator,() has a special regime among operators. It's called the /sequencing/ operator. It does that, /sequencing/, like a champ. Pretty much nothing else. Other operators don't specify the order of evaluation. This one (and && and ||) does. When overloading it, that important property of operator,() is lost. Andrei