Search

May 01, 2022
Learn »
Great, I'm using the constraint, until it's fixed.
Will it be fixed though...
May 01, 2022
Learn »
The static assert isn't needed.


```d
enum isVector(V) = is(V==MatrixImpl!(S,1...
May 01, 2022
Learn »
I guess the current best is something like:

```d
enum isVector(V) = is(V==MatrixImpl...
May 01, 2022
Learn »
Thanks a lot! So this really is a D "feature".
The current behaviour is so...
May 01, 2022
General »
...in meaningful ways for you application using alias, unfortunately C++ does not provide nominal binding...
May 01, 2022
Learn »
AFAICT, I'm afraid you'll have to stick to `dot2` 🙁


This DIP I...
May 01, 2022
Learn »
...N)
    {
    }

    template Vector(S, size_t N)
    {
        alias Vector = MatrixImpl!(S, 1, N);
    }

    @nogc
    S...
April 30, 2022
Learn »
...counters courtesy of autoptr.

e.g.

```d

alias Texture = IntrusivePtr!TextureData; // dub package autoptr
class...
April 29, 2022
Learn »
...be done with mixin:
```d
template prn(alias args)
{
  string prn()
  {
    string result = "write(";
    foreach...
April 29, 2022
Learn »
...keyword in D, it's just an alias (one that the compiler recognizes specially). So...
225 226 227 228 229 230 231 232 233 234 235
Next ›   Last »