Re: [boost] Interest check: container with preallocated buffer

Thorsten Ottosen writes:
I was looking at the documentation and the Serialization and "Differences from std::vector<T>" pages were both empty. It would be nice to indicate there's nothing there yet for those pages. 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. -- Brian Wood Ebenezer Enterprises www.webEbenezer.net "Then Samuel took a rock and set it up between Mizpah and Shen. He named it Ebenezer [Rock of Help] and said, 'Until now the LORD has helped us.'"
participants (2)
-
Brian Wood
-
Thorsten Ottosen