Boost logo

Boost :

Subject: Re: [boost] Interest check: container with preallocated buffer
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-05-19 16:55:31


Brian Wood skrev:

> On the Semantics page is says:
>
> auto_buffer( const auto_buffer& r );
>
> - *Effect:* Copy constructor.
> - *Postconditions:* capacity() == max(r.size(),N) && size() == r.size() .
>
> - *Throws:* Nothing if size() <= N and the copy constructor of T cannot
> throw. Otherwise this might throw exceptions from the allocator of from T's
> copy constructor.
>
> I think there's a typo in the last sentence there.

Thanks.

:-)

-Thorsten


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