On Wednesday, 28 August 2019 at 10:33:33 UTC, GreatSam4sure wrote:
On Wednesday, 28 August 2019 at 09:35:55 UTC, Jacob Carlborg
wrote:
On 2019-08-28 10:14, GreatSam4sure wrote:
[...]
DWT is ported manually from Java. Here's a very short guide
[1]. That guide is probably written for D1.
But with the current compiler you would never write
is(typeOf(myC) : typeof(c))
if in your mind "c" is actually a class "C" because if that is
in your mind you would just write
is(typeof(myC) : c)
which would get you the error. You only need typeof(variable)
to get to the type, there is
On Friday, 20 October 2017 at 23:01:25 UTC, Steven Schveighoffer
wrote:
On 10/20/17 6:23 PM, Patrick wrote:
On Friday, 20 October 2017 at 22:15:36 UTC, Steven
Schveighoffer wrote:
On 10/20/17 5:55 PM, Patrick wrote:
Due to the very specific nature of the 'is' operator, why
wouldn't the
On Friday, 20 October 2017 at 22:15:36 UTC, Steven Schveighoffer
wrote:
On 10/20/17 5:55 PM, Patrick wrote:
Due to the very specific nature of the 'is' operator, why
wouldn't the compiler know to implicitly query the class
types? Why must it be explicitly written, typeof(this)?
The compiler
On Friday, 20 October 2017 at 21:42:32 UTC, Jonathan M Davis
wrote:
On Friday, October 20, 2017 21:32:48 Patrick via
Digitalmars-d-learn wrote:
The compiler seems to reject the following code in a class
method:
bool test = is(this : myClass);
Could some please explain
The compiler seems to reject the following code in a class method:
bool test = is(this : myClass);
Could some please explain this?
Thanks,
Patrick
I know that there is no prescribed order that the .values array
will be sorted in, however I'm curious if the order is
deterministic based on keys.
If I have two associative arrays with strings for keys and ints
for values and they each have an identical set of keys, would the
.values
I feel dumb. I've been searching for how to do this, and each
page or forum entry I read makes me more confused.
Let's say I have a list of values (Monday, Tuesday, Wednesday,
Thursday, Friday). I can store this list in an Slist, Dlist,
Array etc -- any collection is fine.
I decide I want
Thank you, that is a great sample.
On Wednesday, 6 August 2014 at 19:41:50 UTC, Jonathan M Davis
wrote:
On Wednesday, 6 August 2014 at 19:01:26 UTC, Patrick wrote:
I feel dumb. I've been searching for how to do this, and each
page or forum entry I read makes me more confused.
Let's say I