Re: Regarding std.collection.Array

2013-08-28 Thread Tobias Pankrath
On Wednesday, 28 August 2013 at 00:45:48 UTC, bearophile wrote: 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 requ

Regarding std.collection.Array

2013-08-27 Thread bearophile
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