Re: Explicit Class Instance Allocation

2014-02-05 Thread bearophile

Mike:


class Foo
{
new(size_t sz)


Also that usage of new() is deprecated.

Bye,
bearophile


Re: Explicit Class Instance Allocation

2014-02-05 Thread Mike

On Wednesday, 5 February 2014 at 11:19:00 UTC, bearophile wrote:

Mike:


class Foo
{
   new(size_t sz)


Also that usage of new() is deprecated.

Bye,
bearophile


Thank you, but can you please point me to your source.  It's not 
listed here (http://dlang.org/deprecate.html)


Re: Explicit Class Instance Allocation

2014-02-05 Thread Stanislav Blinov

On Wednesday, 5 February 2014 at 11:23:57 UTC, Mike wrote:

On Wednesday, 5 February 2014 at 11:19:00 UTC, bearophile wrote:

Mike:


class Foo
{
  new(size_t sz)


Also that usage of new() is deprecated.

Bye,
bearophile


Thank you, but can you please point me to your source.  It's 
not listed here (http://dlang.org/deprecate.html)


It's mentioned here: http://dlang.org/class.html#allocators.

Perhaps a bugreport or even a pull request is in order?


Re: Explicit Class Instance Allocation

2014-02-05 Thread bearophile

Stanislav Blinov:


Perhaps a bugreport or even a pull request is in order?


https://d.puremagic.com/issues/show_bug.cgi?id=12081

Bye,
bearophile


Re: Explicit Class Instance Allocation

2014-02-05 Thread Stanislav Blinov

On Wednesday, 5 February 2014 at 12:12:12 UTC, bearophile wrote:


https://d.puremagic.com/issues/show_bug.cgi?id=12081


Why do I sense another holy war in the bugzilla coming? :)