Hello All,
In phobos/std/process.d, in the ProcessPipes struct, we can see a
few functions which are marked with "nothrow", but which (under
some conditions) throw:
@property File stdout() @safe nothrow
{
if ((_redirectFlags & Redirect.stdout) == 0)
throw new Error
Steven Schveighoffer, Adam D. Ruppe, I wish to thank you both for
your explanations ! I have understood and I have created a small
test program. Indeed, at least on Windows, the destructor of an
automatic struct does not seem to run.
Have a wonderful day... and I hope to be bugging the communi
On Monday, 18 May 2020 at 05:36:01 UTC, Mike Parker wrote:
[...]
Unfortunately, the minimum Windows version "officially"
supported is Windows 7:
https://forum.dlang.org/post/ktfgps$2ghh$1...@digitalmars.com
With no testing on XP, you are bound to run into difficulties
trying to use the tools
Hello all,
I am trying to implement a ("struct template" ? what is the
correct word ?) range that just forwards its primitives ("empty",
"front", "popFront") to another range, possibly with some very
limited filtering/alteration, as std.range.Take (just to learn).
Initially, the "front" me
:54 Drone1h via
Digitalmars-d-learn wrote:
[...]
I am trying to implement a ("struct template" ? what is the
correct word ?) range that just forwards its primitives
("empty",
"front", "popFront") to another range, possibly with some very
limited filterin
On Monday, 19 March 2018 at 00:50:06 UTC, Jonathan M Davis wrote:
On Monday, March 19, 2018 00:14:11 Drone1h via
Digitalmars-d-learn wrote:
I am not sure whether I can make it work with "inout" instead
of "const". Perhaps I am missing something.
...
May I ask that you confi
On Monday, 19 March 2018 at 00:50:06 UTC, Jonathan M Davis wrote:
[...]
http://jmdavisprog.com/articles/why-const-sucks.html
I have just read the reply and the article.
I cannot believe you have written this article in response to
this thread (perhaps I am mis-interpreting the date of the
a