On 28/08/2020 3:59 AM, Jesse Phillips wrote:
DMD installer still is unable to find "VS installed"
One of the reasons for this is that the environment variables have not
been updated.
You need to restart to do this.
On Friday, 28 August 2020 at 05:38:59 UTC, novice3 wrote:
DMD x86 on Windows have no dependencies, just unpack .zip and
use.
It's a pitty, that DMD x64 depend on VS :(
It does not. If VS is not installed the MinGW provided libraries,
which are bundled, will be used.
--
/Jacob Carlborg
On Friday, 28 August 2020 at 13:35:43 UTC, Alexandru Ermicioi
wrote:
On Friday, 28 August 2020 at 12:29:20 UTC, Simen Kjærås wrote:
Seems that these methods should be rooted out from Object, and
placed in respective interfaces like:
-
interface Equatable(T) {
bool opEquals(T va
On Friday, 28 August 2020 at 12:29:20 UTC, Simen Kjærås wrote:
Seems that these methods should be rooted out from Object, and
placed in respective interfaces like:
-
interface Equatable(T) {
bool opEquals(T value);
}
-
Then it would be a lot more simple. People who want equ
On Friday, 28 August 2020 at 11:50:35 UTC, kinke wrote:
On Friday, 28 August 2020 at 11:46:15 UTC, Oleg B wrote:
How to do this more clearly?
alias Dg = ref int delegate();
Dg foo;
Thanks!
On 8/27/20 9:54 PM, Andrej Mitrovic wrote:
-
import std.datetime;
void main ()
{
static time =
SysTime(DateTime.fromISOString("20220101T00")).toUnixTime;
}
-
-
/Library/D/dmd/src/phobos/std/concurrency.d(2574): Error: static
variable lock cannot be read at compile time
/Li
On Friday, 28 August 2020 at 10:42:09 UTC, Alexandru Ermicioi
wrote:
No that is not a solution at all, in template code that
requires safety. You basically will have to sacrifice safety
for rest of types, such as structs, unions & enums for the sake
of objects being able to compare.
Yup. Ther
On Friday, 28 August 2020 at 11:46:15 UTC, Oleg B wrote:
How to do this more clearly?
alias Dg = ref int delegate();
Dg foo;
Hello all!
syntax
ref int delegate() foo0;
or
ref(int) delegate() foo1;
or
int delegate() ref foo2;
are not valid.
if I try alias
alias refint = ref int;
refint delegate() foo3;
foo3 have type `int delegate()` (without `ref`)
and it can't store delegate from object me
On Friday, 28 August 2020 at 10:42:09 UTC, Alexandru Ermicioi
wrote:
...
Also, why it is limited to just objects? It seems that this
function enforces symmetry between two objects. What about rest
of the possible types, such as structs, unions?
On Friday, 28 August 2020 at 10:28:07 UTC, Simen Kjærås wrote:
What you'll need to do is mark every function that does compare
two class objects with == as @trusted or @system.
No that is not a solution at all, in template code that requires
safety. You basically will have to sacrifice safety
On Friday, 28 August 2020 at 08:16:01 UTC, Alexandru Ermicioi
wrote:
Hi everyone,
there is https://issues.dlang.org/show_bug.cgi?id=21180 bug,
anyone knows how to avoid it?
Test case:
-
import std;
class Silly {
bool opEquals(const Silly silly) const @safe {
return si
On Thursday, 27 August 2020 at 18:49:19 UTC, James Blachly wrote:
Peeling off from Mathias Lang's thread in General about making
'in' useful, for some novice questions:
1. The thread involves 'in' qualifier. Documentation
(https://dlang.org/spec/function.html#param-storage) indicates
that `i
On Friday, 28 August 2020 at 08:16:01 UTC, Alexandru Ermicioi
wrote:
Hi everyone,
Would be glad at least to pointers, where in dmd is logic for
operator overloading happens, as well as for overloading rules,
so I could fix it myself, if no-one is able to pick up it.
Hi everyone,
there is https://issues.dlang.org/show_bug.cgi?id=21180 bug,
anyone knows how to avoid it?
Test case:
-
import std;
class Silly {
bool opEquals(const Silly silly) const @safe {
return silly is this;
}
alias opEquals = Object.opEquals;
}
bool comp
15 matches
Mail list logo