$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-08-16 08:27:51
From: "David Abrahams" <dave_at_[hidden]>
[quotation moved to top]
> From: "Victor A. Wagner, Jr." <vawjr_at_[hidden]>
> > isn't this going to cause some unexpected/surprising behavior when
> someone
> > tries:
> >
> > a[n] = someT;
> No, there won't be any behavior because compilation will fail.
It is not guaranteed to fail. operator[] returns a non-const value_type, and
rvalues of class types are assignable.