On Tuesday, 11 January 2022 at 11:16:13 UTC, Moth wrote:
On Tuesday, 11 January 2022 at 03:20:22 UTC, Salih Dincer wrote:
[snip]
glad to hear you're finding it useful! =]
... i know there's currently some wierdness with wchars /
dchars equality that needs to be fixed [shouldn't be too much
On Saturday, 8 January 2022 at 16:24:03 UTC, Ali Çehreli wrote:
On 1/8/22 5:49 AM, Stanislav Blinov wrote:
>> Of course, now I stress that postblit is discouraged.
>
> Bit early, methinks. Copy ctors aren't even fully supported
by the
> runtime yet.
Thanks. The spec discourages postblit as
Hello,
I implemented reference counted pointers supporting:
- weak pointers (optional).
- aliasing.
- atomic/non-atomic counters.
- multithread ref counted pointers .
- arrays.
- destructors with attributes
- pure, const, immutable and shared support.
- limited dip1000 and @safe support.
-
On Wednesday, 14 July 2021 at 23:16:05 UTC, Dylan Graham wrote:
[DUB](https://code.dlang.org/packages/record)
[Github](https://github.com/hmmdyl/record)
This is record. It aims to implement records similar to what C#
has by leveraging D's metaprogramming. [C# Example
On Thursday, 9 August 2018 at 01:04:43 UTC, Paul Backus wrote:
On Thursday, 9 August 2018 at 00:11:22 UTC, Seb wrote:
On Thursday, 9 August 2018 at 00:07:05 UTC, Seb wrote:
(It uses the version from DUB and updates itself once daily,
but somehow dub still lists 0.4.1 at the moment)
It looks
On Thursday, 9 August 2018 at 01:04:43 UTC, Paul Backus wrote:
...
@safe opAssign can call @system postblit:
bool moved = false;
struct S{
this(this)@system{
moved = true;
}
}
void main()@safe{
auto st = SumType!(S).init;
st = S.init;
assert(moved == true);
}
On Thursday, 9 August 2018 at 01:04:43 UTC, Paul Backus wrote:
On Thursday, 9 August 2018 at 00:11:22 UTC, Seb wrote:
On Thursday, 9 August 2018 at 00:07:05 UTC, Seb wrote:
(It uses the version from DUB and updates itself once daily,
but somehow dub still lists 0.4.1 at the moment)
It looks
On Wednesday, 8 August 2018 at 20:54:13 UTC, Paul Backus wrote:
SumType is a generic sum type for modern D. It is meant as an
alternative to `std.variant.Algebraic`.
Features:
- Pattern matching, including support for structural matching
(*)
- Self-referential types, using `This`
-