std.container.RedBlackTree versus C++ std::set

Steven Schveighoffer schveiguy at yahoo.com
Thu Feb 14 06:54:30 PST 2013


On Thu, 14 Feb 2013 09:47:31 -0500, Namespace <rswhite4 at googlemail.com>  
wrote:

> If I use (as you do)
> ----
> this(ref this) {
> ----
> I get 0 as output. (dmd 2.062 beta1)
> If I remove the 'ref' I get 11389556.

this(ref this) is not a postblit.  That it would even compile is a bug.

-Steve


More information about the Digitalmars-d-learn mailing list