August 05 General » Re: Fear of Compiler Magic | |||
|---|---|---|---|
| |||
...specific case could be solved with Enum Parameters: `enforce` could detect `0` (or `false`) specifically... | |||
August 03 DIP Development » Re: First Draft: Making printf @safe | |||
|---|---|---|---|
| |||
...would need updating (unless we had enum parameters). The dmd as a library API would... | |||
August 03 DIP Development » Re: First Draft: Making printf @safe | |||
|---|---|---|---|
| |||
...compile time and modifies it and other parameters, so they match. It could look something... | |||
August 02 DIP Development » Re: Frist Draft (in this forum): Enum Parameters | |||
|---|---|---|---|
| |||
...know, isn't possible. Are template value parameters manifest constants? Good question. They're compile... | |||
August 02 DIP Development » Re: Frist Draft (in this forum): Enum Parameters | |||
|---|---|---|---|
| |||
...does `isEnum` yield `true` for template value parameters? If not, I think it’s too specific... | |||
August 01 Learn » Re: Any way to automatically convert structs on return? | |||
|---|---|---|---|
| |||
...at all? The function has the same parameters, same return type, same attributes… what’s different... | |||
July 31 DIP Development » Re: Frist Draft (in this forum): Enum Parameters | |||
|---|---|---|---|
| |||
...isEnum)` wouldn’t detect `enum` other than `enum` parameters. Is it really a big issue that... | |||
July 31 DIP Development » Re: Frist Draft (in this forum): Enum Parameters | |||
|---|---|---|---|
| |||
...that `isEnum` should only work for enum parameters. Having it check for enum membership will... | |||
July 31 General » Re: enums and version/static if/"inheritance" | |||
|---|---|---|---|
| |||
...see much use of this for function parameters outside of language bindings, but with array... | |||
July 30 General » Re: enums and version/static if/"inheritance" | |||
|---|---|---|---|
| |||
...add; } return ret; }())); ``` Please note that some parameters and fields are **required** to be referred... | |||
Copyright © 1999-2021 by the D Language Foundation