July 29, 2022 Issues » [Issue 23273] New: [REG2.095] Error on passing inout variable to function (not an lvalue) | |||
|---|---|---|---|
| |||
...getCell(cell);
}
}
struct StructAlias(alias toRef) {}
struct S(T) {
void foo() {}
alias RangesList = StructAlias!(foo... | |||
July 28, 2022 General » New syntax idea for mixing overloads in a class using `mixin template` | |||
|---|---|---|---|
| |||
...a problem where you need to add `alias myFunc = myMixin.myFunc`. And that is okay... | |||
July 28, 2022 Learn » Iterating over mixin template members | |||
|---|---|---|---|
| |||
...static foreach(mem; __traits(allMembers, __ogen__))
{
mixin("alias ",mem," = __ogen__.",mem,";");
}
};
}
class Tester
{
int add... | |||
July 27, 2022 Issues » [Issue 23272] New: [REG2.099] CTFE error of typeid comparison == | |||
|---|---|---|---|
| |||
...cast(Cases)idx;
return this;
}
}
auto caseOfTemplated(alias func, T)(auto ref T s) {
final... | |||
July 27, 2022 General » Re: std.v2 builder pattern replacement | |||
|---|---|---|---|
| |||
...float f;
int uselessfield=1337;
bool b;
}
alias biuldfoo=withMe!(q{f=arg[1];b... | |||
July 27, 2022 Issues » [Issue 9204] Unable to create alias to template function instance with auto ref param | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=9204 Nick Treleaven <nick@geany.org> changed... | |||
July 27, 2022 General » Re: [suggestion] importing and renaming by wildcard and/or regexp | |||
|---|---|---|---|
| |||
...string name)
{
static import bindbc.glfw;
mixin(`alias opDispatch = bindbc.glfw.GLFW_KEY_`, name, `;`);
}
}
```
This... | |||
July 27, 2022 Issues » [Issue 16480] Local selective imports hide member functions | |||
|---|---|---|---|
| |||
...Yes, this is not a bug. The alias introduces empty in the overload set and... | |||
July 27, 2022 General » Re: [suggestion] importing and renaming by wildcard and/or regexp | |||
|---|---|---|---|
| |||
...just create a named enum and if you ever wanted, you could just alias it | |||
July 27, 2022 Issues » [Issue 23241] __traits getMember breaks compilation when hit an alias | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23241 Dlang Bot <dlang-bot@dlang.rocks... | |||
Copyright © 1999-2021 by the D Language Foundation