
13 Dec
2012
13 Dec
'12
3:33 a.m.
On 12 December 2012 18:30, Marshall Clow <mclow.lists@gmail.com> wrote:
On Dec 12, 2012, at 3:26 PM, Olaf van der Spek <ml@vdspek.org> wrote:
On Wed, Dec 12, 2012 at 11:57 PM, Nevin Liber <nevin@eviloverlord.com> wrote:
static_vector<T, N, A = std::allocator<T>>
And you could provide null_allocator_assert and null_allocator_throw as options (or make one of those the default), as it is now the responsibility of the allocator, not static_vector, to throw or not throw.
To me, that's a different container.
Why? How is it behaviorally any different, assuming you give it a null_allocator? -- Nevin ":-)" Liber <mailto:nevin@eviloverlord.com> (847) 691-1404