June 15, 2021 General » Re: Iterators and Ranges: Comparing C++ to D to Rust | |||
|---|---|---|---|
| |||
...like `array.map!foo[$/2 .. $].retro.map!bar.length` end up being unexpected performance pitfalls... | |||
June 13, 2021 Learn » Re: cannot take address of scope local in safe function | |||
|---|---|---|---|
| |||
...like you wrote `Foo x;` without `scope`. `Bar` does contain an indirection, so `scope` actually... | |||
June 13, 2021 Learn » cannot take address of scope local in safe function | |||
|---|---|---|---|
| |||
...variable but not Bar?
```d
//-dip1000
struct Foo{
private double d;
}
struct Bar{
private void... | |||
June 13, 2021 Issues » [Issue 22022] New: A function with pragma(mangle) mixed into a function body is missing from the binary | |||
|---|---|---|---|
| |||
...pragma(mangle, "bar")
extern(C) static void foo() {
}
}
void main() {
mixin Foo;
}
No 'bar' in... | |||
June 13, 2021 Issues » [Issue 22021] New: pragma(mangle) not accepted in function body | |||
|---|---|---|---|
| |||
...maxsamukha@gmail.com
void main() {
pragma(mangle, "bar")
extern(C) static void foo() {
}
}
onlineapp.d... | |||
June 10, 2021 Learn » Re: Cast class reference to pointer of another class? | |||
|---|---|---|---|
| |||
...was done explicit, something like: ```d Bar b = new Bar(); Foo* f2 = cast(Foo*)b... | |||
June 09, 2021 Learn » Re: Class member initialization with new points to a single instance? | |||
|---|---|---|---|
| |||
...instance shared through class member initializer. Use Bar ctor instead if you want them to... | |||
June 09, 2021 Learn » Class member initialization with new points to a single instance? | |||
|---|---|---|---|
| |||
...Bar { Foo foo = new Foo(); }
void main()
{
Bar b1 = new Bar();
Bar b2 = new Bar... | |||
June 06, 2021 Genel » Re: UFCS pointer üzerinden mi işler? | |||
|---|---|---|---|
| |||
...oluyor. test.bar deyince test'in bar işlevinden mi bahsediyoruz yoksa test'in bar işlevini... | |||
June 06, 2021 Genel » UFCS pointer üzerinden mi işler? | |||
|---|---|---|---|
| |||
...bar.writeln(", ", &test.bar);
/* printOut: result, string delegate() */
test.bar[0..3].writeln(", ", test.bar... | |||
Copyright © 1999-2021 by the D Language Foundation