$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Andrei Alexandrescu \(See Website for Email\) (andrewalex_at_[hidden])
Date: 2004-07-09 11:09:29
"Vladimir Prus" <ghost_at_[hidden]> wrote in message
news:200407091141.40483.ghost_at_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