On Monday, 27 May 2019 at 15:13:00 UTC, dangbinghoo wrote:
hello,
code below:
-
class a {
string a1;
}
a a1;
writeln(a1.a1);
-
compiles and produce "core dump" or "segfault", does this fit
the original D design? why the compiler does not detect for
accessing
hello,
code below:
-
class a {
string a1;
}
a a1;
writeln(a1.a1);
-
compiles and produce "core dump" or "segfault", does this fit the
original D design? why the compiler does not detect for accessing
a null object and refused to compile?
And, 2nd
On Saturday, 25 May 2019 at 14:17:43 UTC, Robert M. Münch wrote:
Does anyone has an example using Appender with a rectangual
array?
Appender!(T[][]) can append rows of type T[]. It does not check
their lengths, the T[][] is an array of arrays, not a matrix.
To append columns one needs an
On Thursday, 16 May 2019 at 15:52:05 UTC, Steven Schveighoffer
wrote:
On 5/16/19 4:27 PM, Vladimir Panteleev wrote:
On Thursday, 16 May 2019 at 15:19:03 UTC, Alex wrote:
What's an hnsec anyways?
Hecto-nano-second, the smallest representable unit of time in
SysTime and Duration.
The
On Thursday, 23 May 2019 at 06:14:11 UTC, Russel Winder wrote:
On Thu, 2019-05-23 at 04:21 +, Mike Brockus via
Digitalmars-d-learn wrote:
[…]
That is cool that Atila was kind enough to accept the
meson.build file. But how do I use the written meson.build
that is apparently in the
On Mon, 2019-05-27 at 16:13 +, Mike Brockus via Digitalmars-d-learn
wrote:
> […]
>
> I tried that custom command voodoo then I tried to use 'dub' as a
> method for hunting down dependencies. Basically got something
> like this.
Apologies but I am not sure what you have tried. Installing
On Saturday, 25 May 2019 at 12:59:50 UTC, Timur Gafarov wrote:
bindbc-nuklear expects nuklear.so in /usr/local/lib. Or you can
compile Dagon without optional libraries, using "Minimal"
subconfiguration in your dub.json:
"subConfigurations": {
"dagon": "Minimal"
}
Fonts and GUI will be
On Tuesday, 21 May 2019 at 02:12:10 UTC, Les De Ridder wrote:
On Sunday, 19 May 2019 at 12:24:28 UTC, Patrick Schluter wrote:
On Saturday, 18 May 2019 at 21:05:13 UTC, Les De Ridder wrote:
On Saturday, 18 May 2019 at 20:34:33 UTC, Patrick Schluter
wrote:
* hurrah for French keyboard which has
On Friday, 17 May 2019 at 18:02:04 UTC, kdevel wrote:
On Thursday, 16 May 2019 at 20:31:23 UTC, Vladimir Panteleev
wrote:
On Thursday, 16 May 2019 at 20:17:37 UTC, Steven Schveighoffer
[...]
hnsecs is more confusing than nanoseconds. People know what a
nanosecond is, a hecto-nano-second is
On Saturday, 25 May 2019 at 12:59:50 UTC, Timur Gafarov wrote:
bindbc-nuklear expects nuklear.so in /usr/local/lib.
That's important! I changed my symlink in `/usr/local/lib` from
`libnuklear.so` to `nuklear.so` and it works now.
On Saturday, 25 May 2019 at 16:17:40 UTC, Robert M. Münch wrote:
On 2019-05-25 14:28:24 +, Robert M. Münch said:
How can I reset a rectangualr array without having to loop
through it?
int[][] myRectData = new int[][](10,10);
myRectData.length = 0;
myRectData[].length = 0;
On Monday, 27 May 2019 at 15:29:32 UTC, Daniel Kozak wrote:
On Monday, 27 May 2019 at 15:13:00 UTC, dangbinghoo wrote:
hello,
1.)
Yes this is by design. It is not easy to detect this at compile
time.
It does not break safety
2.)
https://dlang.org/spec/function.html#function-safety
On Monday, 27 May 2019 at 07:16:37 UTC, BoQsc wrote:
On Sunday, 26 May 2019 at 20:37:36 UTC, Jon Degenhardt wrote:
[...]
The desktop computer I'm testing this on contains Solid State
Drive, a Windows 10 Home Operating system and about 7-9 years
old of hardware. But remember, we are living
On Sunday, 26 May 2019 at 20:37:36 UTC, Jon Degenhardt wrote:
On Saturday, 25 May 2019 at 22:18:16 UTC, Andre Pany wrote:
On Saturday, 25 May 2019 at 08:32:08 UTC, BoQsc wrote:
I have a simple standard .d script and I'm getting annoyed
that it takes 2-3 seconds to run and see the results via
On Sunday, 26 May 2019 at 17:51:37 UTC, Aphex wrote:
1. Is it possible to have a runtime class and struct creator
function that can deal with templates. It doesn't seem like it
should be that big a deal. One only needs to actually know the
size of class and that will depend on the template
I have some types I've declared and I'd like to magically extend
them and add data. The problem is I inheriting from them them is
bad news.
Suppose, for example, I have an image type that is used in an
application. For a small part of the application it needs to
associate with each image
On Monday, 27 May 2019 at 08:40:45 UTC, Amex wrote:
I have some types I've declared and I'd like to magically
extend them and add data. The problem is I inheriting from them
them is bad news.
Suppose, for example, I have an image type that is used in an
application. For a small part of the
On Tuesday, 21 May 2019 at 20:44:49 UTC, rikki cattermole wrote:
On 22/05/2019 8:31 AM, Dennis wrote:
Does slicing have an effect I'm not aware of, or is this a bug?
It could have an effect if a was a struct/class via operator
overloads. But in this case it should probably be a bug.
It
18 matches
Mail list logo