On Wednesday, 6 August 2014 at 17:42:02 UTC, Jonathan M Davis
wrote:
It wouldn't make sense to warn about that, because it could be
very legitimately be what the programmer wants to do. We can't
warn about anything that would be legitimate to have, because
it would force programmers to change t
On Wednesday, 6 August 2014 at 02:12:16 UTC, Era Scarecrow wrote:
On Tuesday, 5 August 2014 at 17:41:06 UTC, Marc Schütz wrote:
It's a consequence of the fact that every type in D has a
default initializer which is known at compile time.
Then doesn't this mean it should pop out a warning in c
On Tuesday, 5 August 2014 at 17:41:06 UTC, Marc Schütz wrote:
It's a consequence of the fact that every type in D has a
default initializer which is known at compile time.
Then doesn't this mean it should pop out a warning in case
that's the behavior you wanted, perhaps a reference to the D
On Tuesday, 5 August 2014 at 17:41:06 UTC, Marc Schütz wrote:
On Tuesday, 5 August 2014 at 15:39:55 UTC, sigod wrote:
On Saturday, 2 August 2014 at 06:46:04 UTC, Jonathan M Davis
via Digitalmars-d-learn wrote:
On Fri, 01 Aug 2014 23:09:37 +
sigod via Digitalmars-d-learn
wrote:
Code: ht
On Tuesday, 5 August 2014 at 15:39:55 UTC, sigod wrote:
On Saturday, 2 August 2014 at 06:46:04 UTC, Jonathan M Davis
via Digitalmars-d-learn wrote:
On Fri, 01 Aug 2014 23:09:37 +
sigod via Digitalmars-d-learn
wrote:
Code: http://dpaste.dzfl.pl/51bd62138854
(It was reduced by DustMite.)
On Saturday, 2 August 2014 at 06:46:04 UTC, Jonathan M Davis via
Digitalmars-d-learn wrote:
On Fri, 01 Aug 2014 23:09:37 +
sigod via Digitalmars-d-learn
wrote:
Code: http://dpaste.dzfl.pl/51bd62138854
(It was reduced by DustMite.)
Have I missed something about structs? Or this simply a
On Fri, 01 Aug 2014 23:09:37 +
sigod via Digitalmars-d-learn wrote:
> Code: http://dpaste.dzfl.pl/51bd62138854
> (It was reduced by DustMite.)
>
> Have I missed something about structs? Or this simply a bug?
Don't do this with a member variable:
private Node * _root = new Node();
Directly
On Friday, 1 August 2014 at 23:09:39 UTC, sigod wrote:
Code: http://dpaste.dzfl.pl/51bd62138854
(It was reduced by DustMite.)
Have I missed something about structs? Or this simply a bug?
Isn't this the same mistake as:
http://forum.dlang.org/thread/muqgqidlrpoxedhyu...@forum.dlang.org#post-mp