
15 Oct
2011
15 Oct
'11
10:48 a.m.
Dave Abrahams wrote:
on Fri Oct 14 2011, "Peter Dimov" <pdimov-AT-pdimov.com> wrote:
try { do some push_backs into a static_vector; we don't know how many } catch( out_of_capacity& ) { // ignore, what we gathered so far is good enough for gov't use }
Yes, it's possible, but highly unusual, for someone to use the class that way.
I'm not sure of that either. What makes you think so? What are the "proper" uses for it?