On 31.08.20 06:24, outlandkarasu wrote:
I thought that I cannot make non-scope `ref` parameters from `scope`
array references.
But I found It allowed currently.
[...]
enum Currency : string {
USD = "USD", EUR = "EUR", GBP = "GBP", JPY = "JPY",
}
struct Instrument {
Currency bid;
On Friday, 28 August 2020 at 12:35:26 UTC, Steven Schveighoffer
wrote:
It's trying to look up the local timezone at compile time.
You need to specify a time zone:
static time =
SysTime(DateTime.fromISOString("20220101T00"),
UTC()).toUnixTime;
-Steve
Aw, thanks Steve!
On Sunday, 30 August 2020 at 16:33:58 UTC, ag0aep6g wrote:
On 30.08.20 17:24, outlandkarasu wrote:
enum Tag { tag = "tag" }
struct A { Tag tag; }
A createA() @safe
{
scope a = A(Tag.tag);
// Error: scope variable a may not be returned
return a;
// NG
// retu
5. Open WinRAR support issue
6. Upload your .exe and say WinRar version then other peoples can
reproduce
Dear Marcone, that you want we all to do?
Rar detect sfx by small signature, and some bytes in exe looks
like signature.
But this is not the problem - just do not open your exe with rar.
Or i just don't understand...
Another options:
1. try to compile with anoter .res or/and another .ico (if m
On Wednesday, 19 August 2020 at 08:27:34 UTC, Kagamin wrote:
On Tuesday, 18 August 2020 at 19:01:17 UTC, Marcone wrote:
SFX zip in it is properties: https://i.imgur.com/dH7jl5n.png
Opening with winRar: https://i.imgur.com/s7C9mZn.png
Probably winrar messing with your file manager. Try to
unin
On Sunday, 30 August 2020 at 10:02:09 UTC, Arjan wrote:
On Sunday, 30 August 2020 at 06:00:20 UTC, Andy Balba wrote:
going nuts trying to figure out which D functions will
read/write binary files
see this blog:
http://nomad.uk.net/articles/working-with-files-in-the-d-programming-language.html
On 30.08.20 17:24, outlandkarasu wrote:
enum Tag { tag = "tag" }
struct A { Tag tag; }
A createA() @safe
{
scope a = A(Tag.tag);
// Error: scope variable a may not be returned
return a;
// NG
// return A(a);
// return A(a.tag);
}
[...]
I under
On Sunday, 30 August 2020 at 10:02:09 UTC, Arjan wrote:
On Sunday, 30 August 2020 at 06:00:20 UTC, Andy Balba wrote:
going nuts trying to figure out which D functions will
read/write binary files
see this blog:
http://nomad.uk.net/articles/working-with-files-in-the-d-programming-language.html
I wrote a struct that having a std.datetime.SysTime member.
However this struct cannot copy from scope variable.
I think because SysTime has a immutable(TimeZone) member and it
cannot copy to out of scope.
struct A { SysTime timestamp; }
A createA() @safe
{
scope a = A(Clock.curr
On Sunday, 30 August 2020 at 06:00:20 UTC, Andy Balba wrote:
going nuts trying to figure out which D functions will
read/write binary files
see this blog:
http://nomad.uk.net/articles/working-with-files-in-the-d-programming-language.html
11 matches
Mail list logo