Search

January 16, 2023
General »
...alias this` is considered broken are:

1)  It's implementation is buggy,

2)  Multiple `alias...
January 16, 2023
General »
...ma that the situation with multiple alias this and alias this in classes was hopelessly...
January 16, 2023
Issues »
...with @property for that code to work. 'alias this' is also unnecessary.

You wrote "This...
January 16, 2023
General »
...T value;

    this(T v) { value = v; };
    alias opCall this;

    @property opCall() inout {
      return value...
January 16, 2023
Issues »
...T value;

    this(T v) { value = v; };
    alias opCall this;

    @property opCall() inout {
      return value...
January 16, 2023
Learn »
...your claim (it uses static array) 2. `alias impl this;` introduces some unexpected interactions (e...
January 15, 2023
Issues »
...MATHDECL_ALIAS (int, __fpclassify,, (_Mdouble_ __value), fpclassify)
     __attribute__ ((__const__));

/* Test for negative number.  */
__MATHDECL_ALIAS...
January 15, 2023
General »
...V payload;
  this(V x)
  {
    payload = x;
  }
  alias opCall this;

  @property: // <-- should be here...
January 15, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=23620

--- Comment #7 from Max Samukha <maxsamukha...
January 15, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=23620

--- Comment #6 from Salih Dincer <salihdb...
144 145 146 147 148 149 150 151 152 153 154
Next ›   Last »