Boost logo

Boost :

From: Matias Capeletto (matias.capeletto_at_[hidden])
Date: 2006-08-14 07:03:01


On 8/13/06, Wang Weiwei <wwwang_at_[hidden]> wrote:
> Hello,
> I'm wondering if it's am error in the doc of MultiIndex at
> http://www.boost.org/libs/multi_index/doc/tutorial.html
>
> In one of the sample code for "Sequenced indices", it reads
>
> *(s.begin())==1; // ERROR: the element cannot be changed
>
> It seems to be, according the intention of the author
>
> *(s.begin())=1; // ERROR: the element cannot be changed

Yes, it is a typo. It has been corrected for 1.34. I recommend
you to check out that branch from cvs, there are some exciting
new features in the library.

Best Regards
Matias


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk