Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-05-28 10:13:40


Martin wrote:
>Not sure what the problem is but construction or assigment from operator+
>doesn't work int VC++2002.
>
>boost::fixed_string<20> xxx, yyy, zzz = xxx + yyy;
>
>gives the following error
>[snip]

The problem is that I need operator+ overloads for fixed_string: the obes
for basic_string_impl will not work! I shall have a fix posted shortly.

>And another thing:
>
>One of the find overloads doesn't check the pos argument so it might create
>an
>endless loop.
>
>inline size_type find( char_type c, size_type pos = 0 ) const {
> const_iterator last( end() );
> for( const_iterator first( begin() + pos ); first != last; ++first )

Thanks! This has been corrected.

Regards,
Reece

_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/


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