April 15, 2022 Issues » [Issue 17063] Nested function template cannot be accessed | |||
|---|---|---|---|
| |||
...ok!
testit!foo(5); // error
}
auto testit(alias pred, T)(T arg)
{
import std.functional... | |||
April 13, 2022 Learn » Re: Why do immutable variables need reference counting? | |||
|---|---|---|---|
| |||
...alias T1 = const(char)[]; > alias T2 = const char[]; > alias T3 = const(char[]); // T3 == T2 > alias... | |||
April 13, 2022 Learn » Re: Why do immutable variables need reference counting? | |||
|---|---|---|---|
| |||
...alias T1 = const(char)[]; alias T2 = const char[]; alias T3 = const(char[]); // T3 == T2 alias... | |||
April 12, 2022 General » Re: dip: __HERE__ special token | |||
|---|---|---|---|
| |||
...d
int foo;
float bar;
bool faz;
alias dp=debugprinter!();
foreach(...){...}
```
to disable faz from... | |||
April 12, 2022 Genel » Re: Lambda İşlevler Testi | |||
|---|---|---|---|
| |||
...d
struct MAT(alias fp)
{
import std.traits : ReturnType;
import std.format;
alias T = ReturnType... | |||
April 12, 2022 Genel » Re: Lambda İşlevler Testi | |||
|---|---|---|---|
| |||
...durumda lambda'lar 'alias' çeşidinden şablon parametresi olarak kullanılıyor:
struct MAT(alias işlem)
{
import std... | |||
April 12, 2022 Genel » Re: Lambda İşlevler Testi | |||
|---|---|---|---|
| |||
...alias int delegate(int) @system temsilci; alias'ın görece yeni kullanımı daha mantıklı görünebilir: alias... | |||
April 12, 2022 Genel » Re: Lambda İşlevler Testi | |||
|---|---|---|---|
| |||
...nakledeyim. Sonra isteyen olursa kritik ederiz: ```d alias int delegate(int) del; struct MAT(del... | |||
April 12, 2022 Genel » Re: Lambda İşlevler Testi | |||
|---|---|---|---|
| |||
...üreteceğimiz şeyi gösteren bir takma adımız olsun: */ alias int delegate(int) @system temsilci; temsilci G... | |||
April 11, 2022 Issues » [Issue 23010] New: mixed in aliaseqs used as type dont initualize | |||
|---|---|---|---|
| |||
...meta;
import std.stdio;
mixin template faz(){
alias T=AliasSeq!(int);
T bar=0;
void... | |||
Copyright © 1999-2021 by the D Language Foundation