January 16, 2022 Learn » Re: Unintuitive behavior with shared classes & template member functions; is this intended? | |||
|---|---|---|---|
| |||
...an externally visible alias to that type. Something like this (untested): ```d alias MyClass = shared... | |||
January 15, 2022 Genel » Re: Sınıf&Yapılarda Hafıza Yönetimi'ne Giriş | |||
|---|---|---|---|
| |||
...dX;
}
struct Foo {
ubyte id;
DATA _data;
alias _data this;
this(char id) {
this.id... | |||
January 15, 2022 Issues » [Issue 22676] New: fullyQualifiedName fails to compile with 2.098.1 relese -- there is some issue with call to __traits(isScalar .. | |||
|---|---|---|---|
| |||
...enum string attr_string = ""; }
alias foo_frop = foo!frop;
class frop { alias type_id = registry... | |||
January 15, 2022 Genel » Re: Sınıf&Yapılarda Hafıza Yönetimi'ne Giriş | |||
|---|---|---|---|
| |||
...lastUsed, ref size_t totalPadding) {
alias types = Fields!T;
alias names = FieldNameTuple!T;
static assert... | |||
January 14, 2022 General » SAOC LLDB D integration: 17th Weekly Update | |||
|---|---|---|---|
| |||
...tinkering with derived types, more specifically with `alias`. The same with built-in types the... | |||
January 14, 2022 General » Re: Discussion Thread: DIP 1042--ProtoObject--Community Review Round 1 | |||
|---|---|---|---|
| |||
...so very useful anymore if you have structs, alias this and UFCS-(pseudo-)member-functions. | |||
January 14, 2022 Learn » Re: How to alias | |||
|---|---|---|---|
| |||
Thanks Adam. We need a repository of articles about stuff that doesn't do what... | |||
January 14, 2022 Learn » Re: How to alias | |||
|---|---|---|---|
| |||
...discarded. alias b = rhs.num; drops the this, instead doing something more like `alias b... | |||
January 14, 2022 Learn » How to alias | |||
|---|---|---|---|
| |||
...T : Broke))
{
alias b = rhs.num;
assert(&b != &this.num); //this fails
}
else
{
alias b... | |||
January 14, 2022 General » bottom type as parameter or local variable, does that make sense? | |||
|---|---|---|---|
| |||
...is no longer supported, use NewType instead") alias OldType = noreturn; ``` and with that both add... | |||
Copyright © 1999-2021 by the D Language Foundation