www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - fixed_array allocator support?

reply Neal Becker <ndbecker2 gmail.com> writes:
I noticed fixed_array does not have allocator object as an optional argument
to constructor?  Why not?

Most standard containers constructors allow optional allocator parameter. 
This is needed if the allocator has state, in which case a mere allocator
type is not sufficient.
Apr 18 2007
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
"Neal Becker" <ndbecker2 gmail.com> wrote in message
news:f056p2$1j3p$1 digitalmars.com...
 I noticed fixed_array does not have allocator object as an optional
argument
 to constructor?  Why not?

 Most standard containers constructors allow optional allocator parameter.
 This is needed if the allocator has state, in which case a mere allocator
 type is not sufficient.
7 months on, and this is _finally_ done. Will be in 1.9.13 Sorry about the wait. :$ Cheers Matt
Dec 19 2007