Search

February 07, 2023
Learn »
...alias this = app.DelphiObject`, use `alias app.DelphiObject this` instead

But If I use `alias...
February 07, 2023
Issues »
...or warning:
```d
void main()
{
    double x;
    alias D = double;
    if (x == double.nan){} // 1...
February 07, 2023
Learn »
...in alias of structs? Voldemort types work just fine for example:

```d
template Farr(alias...
February 06, 2023
General »
...to druntime, and std.math should just alias the current symbol to the druntime implementation...
February 06, 2023
Learn »
...arguments.)
template staticMap2(alias fun, args...)
{
    alias firsts = args[0 .. $ / 2];
    alias seconds = args[$ / 2...
February 06, 2023
Learn »
...int to string
}

alias TargetSeq = Parameters!targetFunc;

auto wrapperFunc(A...)(A) {
  alias SourceSeq = __traits(parameters...
February 05, 2023
Genel »
Ç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 »
...değilim.

Bu gibi durumlarda ben alias veya işlev kullanıyorum:

alias VarsayılanS = S!();

    auto a = VarsayılanS...
February 05, 2023
Genel »
...Candidate is source.Funy(alias T = size_t)
}

template Funy(alias T = size_t) {
  struct...
February 05, 2023
Genel »
...D'de şablonlu alias'lar kullanılabiliyor. Belki duruma göre ondan yararlanılabilir:

  alias Bool(T) = Enumlarım...
138 139 140 141 142 143 144 145 146 147 148
Next ›   Last »