
19 May
2009
19 May
'09
8:55 p.m.
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