Search

September 04
DIP Ideas »
...proposal.

It would be an easy enough swap to change ``@safe`` to ``@tsafe``. But that...
September 03
DIP Ideas »
...this does solve the limitation that a `swap` function on `scope` values being impossible with...
September 03
DIP Ideas »
...attribute ``@move`` inferred, allows for functions like swap and move to be modelled without you...
August 29
General »
...current system, it is impossible to give `swap` a `@safe` *function signature* that accepts `scope...
August 29
General »
...about swap/move functions some more for my own proposal.

The following applies to swap...
August 29
General »
...swap(p1.a, p1.b);
     swap(p2.a, p2.b);

     static assert(!__traits(compiles, swap...
August 28
General »
...swap(p1.a, p1.b);
        swap(p2.a, p2.b);

        static assert(!__traits(compiles, swap...
August 20
General »
...the use case where you want to swap it out in a process that has...
August 17
General »
...my experience; except when you need to swap a class with a struct, which is...
July 18
General »
...I turn on release for ldc (or swap to .ptr on the slices):

```
$ ldc2 -O3...
1 2 3 4
Next ›   Last »