On 06/10/12 20:38, Walter Bright wrote:
On 9/30/2012 9:35 PM, Andrej Mitrovic wrote:
On 10/1/12, Walter Bright newshou...@digitalmars.com wrote:
Also, consider that in C++ you can throw any type, such as an int. There
is no credible way to make this work reasonably in D, as exceptions are
all
As promised, a little description of Remus. :)
Not Null references:
I chose this syntax: int b = a; because I like it in C++. This
syntax is recognized by Remus and is converted to: Ref!(int) b =
a;
If you must give a reference to a function or other things like
that, you can write:
[code]
Namespace:
Not Null references:
I chose this syntax: int b = a; because I like it in C++. This
syntax is recognized by Remus and is converted to: Ref!(int) b
= a;
If you must give a reference to a function or other things like
that, you can write:
[code]
Foo obj = new Foo();
On Tuesday, 9 October 2012 at 19:34:01 UTC, Namespace wrote:
Stack Instances:
There aren't many words for: if you need a stack instance,
write: local Foo f = new Foo(); it's more or less the same as
scope.
What's the difference between this and std.typecons.scoped,
except for alignment and
This seems far from being well designed not-nullable
pointers/class references :-(
And why not? In my test cases, they fulfilled their task /
purpose very well.
And you ask for what namespaces are usefull? Aren't you miss
them? I do, and so I implement them. You can already write