March 29, 2022 Learn » Re: How do you properly use immutable on class members? | |||
|---|---|---|---|
| |||
...immutable are transitive, meaning that if your outer reference is const, then everything it refers... | |||
March 27, 2022 Issues » [Issue 22934] Header generator emits context pointer as `this` | |||
|---|---|---|---|
| |||
...13887 "Fix 22934 - Emit context pointer as `outer` instead of `this`" was merged into master... | |||
March 25, 2022 Issues » [Issue 22934] New: Header generator emits context pointer as `this` | |||
|---|---|---|---|
| |||
...C++) class Outer
{
class Inner
{
}
}
--- example.h
class Outer
{
public:
class Inner
{
public:
Outer* outer;
};
};
-- | |||
March 24, 2022 Issues » [Issue 22917] New: compiler crash: template struct wrapped in template struct wrapper in lambda wrapped in traits(compiles) | |||
|---|---|---|---|
| |||
...Inner()
{
bool opEquals(Inner) { }
}
struct Outer()
{
Inner!() field;
bool opEquals(Outer) { return field == field; }
}
void... | |||
March 24, 2022 Issues » [Issue 19091] __traits(compiles) and error in templated structs leads to missing symbol | |||
|---|---|---|---|
| |||
...Inner()
{
bool opEquals(Inner) { }
}
struct Outer()
{
Inner!() field;
bool opEquals(Outer) { return field == field; }
}
void... | |||
March 19, 2022 Learn » Re: Help needed to learn templates | |||
|---|---|---|---|
| |||
...below:
```d
import std.stdio;
alias outer O;
struct outer {
int i;
O * o;
}
int... | |||
March 09, 2022 Issues » [Issue 22866] New: ICE when accessing __traits(parameter) alias of an outer scope inside foreach | |||
|---|---|---|---|
| |||
...void main()
{
alias outer = __traits(parameters);
foreach (i; 0..1)
{
writeln(outer);
}
}
---
https://run.dlang... | |||
February 20, 2022 Learn » Re: Tips on TCP socket to postgresql middleware | |||
|---|---|---|---|
| |||
...with each other as well as with outer world (signals, timers, events from sockets etc) | |||
February 17, 2022 Issues » [Issue 22784] New: pragma(printf) applies to nested functions | |||
|---|---|---|---|
| |||
...expect the pragma to apply to the outer function only so you can have non... | |||
February 12, 2022 Learn » Re: Declaring a reusable formula and using it in other scopes. | |||
|---|---|---|---|
| |||
...typo made it capture something in an outer or global scope, for example. Or if... | |||
Copyright © 1999-2021 by the D Language Foundation