December 19, 2022 Learn » Re: No need opUnary | |||
|---|---|---|---|
| |||
...takes no parameter for the following
alias this.) */
alias opCall this;
this(int i) {
value... | |||
December 18, 2022 Genel » Re: @property'e ihtiyacımız olan bir durum! | |||
|---|---|---|---|
| |||
...private int value;
alias opCall this;
this(int i) {
value = i;
}
alias opAssign = opCall;
@property... | |||
December 18, 2022 Learn » No need opUnary | |||
|---|---|---|---|
| |||
...S
{
int value;
alias opCall this;
this(int i) {
value = i;
}
alias opAssign = opCall;
@property... | |||
December 18, 2022 Learn » Re: printf, writeln, writefln | |||
|---|---|---|---|
| |||
...S
{
int value;
alias opCall this;
this(int i) {
value = i;
}
alias opAssign = opCall;
@property... | |||
December 18, 2022 Genel » Re: Özellikden Kastettiğimiz | |||
|---|---|---|---|
| |||
...stdio;
void main()
{
struct S
{
int i;
alias opCall this;
//@property
auto opCall() //inout
{
return... | |||
December 18, 2022 Genel » Re: D Neden Hijyenik Makro Kullanmıyor? | |||
|---|---|---|---|
| |||
...Mixin) bildiğimiz makro gibi çalışabilmekte. Başarılar... **Dip Not:** Yukardaki örnekte todo yerine alias fun almış. | |||
December 18, 2022 Genel » D Neden Hijyenik Makro Kullanmıyor? | |||
|---|---|---|---|
| |||
...int);
#swap a, b, int;
#goto state;
alias this = #this;
Derleyici zamanını artırması dışında D... | |||
December 17, 2022 Genel » Re: Özellikden Kastettiğimiz | |||
|---|---|---|---|
| |||
...s, uint n) {
> sınıfı(s);
> numarası(n);
> }
[...]
> alias opCall = opAssign; /* hack: `opAssign` methods
> are not... | |||
December 17, 2022 Issues » [Issue 23564] [REG 2.101.0] SIGSEGV during compilation | |||
|---|---|---|---|
| |||
...BlockHeader
{
this()
{
new FreeList;
}
}
class RBTree
{
class FreeList
{
}
void _each_reverse( )
{
}
}
alias FreeList = RBTree.FreeList;
---
-- | |||
December 17, 2022 Issues » [Issue 22866] ICE when accessing __traits(parameter) alias of an outer scope inside foreach | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=22866 Iain Buclaw <ibuclaw@gdcproject.org> changed... | |||
Copyright © 1999-2021 by the D Language Foundation