Formal Review of region allocator begins

dsimcha dsimcha at yahoo.com
Fri Sep 23 07:30:30 PDT 2011


== Quote from Alix Pexton (alix.DOT.pexton at gmail.DOT.com)'s article
> On 23/09/2011 13:22, dsimcha wrote:
> > resize() will be changed to:
> >
> > size_t resize(void* ptr, size_t minBytes, size_t nBytes);
> >
> > where minBytes is the minimum amount to declare success and nBytes is
> > the desired amount.
> and the value returned is the new size, which will always be between
> minBytes and nBytes?
> A...

...or zero on failure, similar to GC.extend.


More information about the Digitalmars-d mailing list