Regarding std.collection.Array

bearophile bearophileHUGS at lycos.com
Tue Aug 27 17:45:39 PDT 2013


Is it a good idea to add to std.collection.Array a method similar 
to:

     T[] unsafeRelease() pure nothrow {
         return this._data._payload;
     }


It's meant to be used as an unsafe hack to call some some 
functions that require a built-in array as input.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list