Search

February 21, 2022
Learn »
...map_vals(alias f,S)(S[] a)
if (is(typeof(f(a[0]))))
{
    alias T...
February 20, 2022
Issues »
...divots@aleeas.com

-------------------
struct T {
    void rec (alias fun) (uint n) {
        if (n == 0)
            return...
February 20, 2022
Learn »
...keywordFieldPairs)
            static if (member == pair[0])
                mixin("alias opDispatch = ", pair[1], ";" );
    }
}
///
unittest
{
    struct Foo
    {
        mixin...
February 18, 2022
Issues »
...Buclaw:
  fix Issue 21674 - [REG v2.086] 'alias this' triggers wrong deprecation
message on function...
February 17, 2022
Learn »
...foo(args); }
    // alias foo = a.foo;
}

void main()
{
    B b;
    b.foo();   // In "alias" case...
February 17, 2022
Issues »
...13681 "fix Issue 21674 - [REG v2.086] 'alias this' triggers wrong deprecation message on function...
February 17, 2022
Announce »
...t understand why this is allowed:

```d
alias Tuple(T...) = T;

void foo()
{
    Tuple!(int...
February 17, 2022
Issues »
...13681 "fix Issue 21674 - [REG v2.086] 'alias this' triggers wrong deprecation message on function...
February 17, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=21674

--- Comment #9 from Iain Buclaw <ibuclaw...
February 17, 2022
Issues »
...expected) { assert(_impl == expected); }
    alias foo this;
}

struct Test2
{
    Test test;
    alias test this;
}

Test...
243 244 245 246 247 248 249 250 251 252 253
Next ›   Last »