February 07, 2023 Learn » Wrong compiler error message regarding overload sets | |||
|---|---|---|---|
| |||
...alias this = app.DelphiObject`, use `alias app.DelphiObject this` instead But If I use `alias... | |||
February 07, 2023 Issues » [Issue 23675] New: Error on direct double.NaN comparison | |||
|---|---|---|---|
| |||
...or warning:
```d
void main()
{
double x;
alias D = double;
if (x == double.nan){} // 1... | |||
February 07, 2023 Learn » Default arguments | |||
|---|---|---|---|
| |||
...in alias of structs? Voldemort types work just fine for example: ```d template Farr(alias... | |||
February 06, 2023 General » Re: Monorepo? | |||
|---|---|---|---|
| |||
...to druntime, and std.math should just alias the current symbol to the druntime implementation... | |||
February 06, 2023 Learn » Re: staticMap but with two arguments | |||
|---|---|---|---|
| |||
...arguments.)
template staticMap2(alias fun, args...)
{
alias firsts = args[0 .. $ / 2];
alias seconds = args[$ / 2... | |||
February 06, 2023 Learn » staticMap but with two arguments | |||
|---|---|---|---|
| |||
...int to string
}
alias TargetSeq = Parameters!targetFunc;
auto wrapperFunc(A...)(A) {
alias SourceSeq = __traits(parameters... | |||
February 05, 2023 Genel » Re: struct'lar ile ilgili (işin içinden çıkamadım!) | |||
|---|---|---|---|
| |||
Çok teşekkür ederim hocam, alias'ın bu özelliğini bilmiyordum. Şablon kısmında elim inanılmaz güçlendi. Gerçi... | |||
February 05, 2023 Genel » Re: struct'lar ile ilgili (işin içinden çıkamadım!) | |||
|---|---|---|---|
| |||
...değilim.
Bu gibi durumlarda ben alias veya işlev kullanıyorum:
alias VarsayılanS = S!();
auto a = VarsayılanS... | |||
February 05, 2023 Genel » Re: struct'lar ile ilgili (işin içinden çıkamadım!) | |||
|---|---|---|---|
| |||
...Candidate is source.Funy(alias T = size_t)
}
template Funy(alias T = size_t) {
struct... | |||
February 05, 2023 Genel » Re: struct'lar ile ilgili (işin içinden çıkamadım!) | |||
|---|---|---|---|
| |||
...D'de şablonlu alias'lar kullanılabiliyor. Belki duruma göre ondan yararlanılabilir: alias Bool(T) = Enumlarım... | |||
Copyright © 1999-2021 by the D Language Foundation