Thread overview |
---|
September 03, 2015 Review needed for the EnumSet template | ||||
---|---|---|---|---|
| ||||
Memebers should be notified. https://github.com/D-Programming-Language/phobos/pull/3623 It's not a big stuff but it's neither a small addition. The thing is there. |
September 03, 2015 Re: Review needed for the EnumSet template | ||||
---|---|---|---|---|
| ||||
Posted in reply to BBasile | On Thursday, 3 September 2015 at 00:12:06 UTC, BBasile wrote:
> Memebers should be notified.
>
> https://github.com/D-Programming-Language/phobos/pull/3623
>
> It's not a big stuff but it's neither a small addition.
> The thing is there.
Slightly tangential question: in your "superset" enumset package, what's the use of 'static' annotation on a free function (was the first function I saw in the file, I believe)?
|
September 03, 2015 Re: Review needed for the EnumSet template | ||||
---|---|---|---|---|
| ||||
Posted in reply to Enamex | On Thursday, 3 September 2015 at 05:39:03 UTC, Enamex wrote:
> On Thursday, 3 September 2015 at 00:12:06 UTC, BBasile wrote:
>> Memebers should be notified.
>>
>> https://github.com/D-Programming-Language/phobos/pull/3623
>>
>> It's not a big stuff but it's neither a small addition.
>> The thing is there.
>
> Slightly tangential question: in your "superset" enumset package, what's the use of 'static' annotation on a free function (was the first function I saw in the file, I believe)?
Nothing, gotta remove them. This is an artifact from the time i began to learn D: I thought that to make a function available at CT 'static' was required, which is obviously wrong...The fact is that 'static' is here a no-op (e.g its does nothing on the signature), just like when someone declares a static global something.
|
Copyright © 1999-2021 by the D Language Foundation