|
Boost : |
From: Wang Weiwei (wwwang_at_[hidden])
Date: 2006-08-13 22:19:41
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
Thanks
Max
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk