April 02, 2022 Learn » Re: Can std.variant be used with std.container.rbtree? | |||
|---|---|---|---|
| |||
...import std.sumtype; import std.algorithm : cmp; alias VarType = SumType!(double, ubyte[]); int opCmp(const... | |||
April 02, 2022 Learn » Re: Can std.variant be used with std.container.rbtree? | |||
|---|---|---|---|
| |||
...container.rbtree;
import std.stdio;
void main() {
alias Type = Char;
with(new RedBlackTree!(Type))
{
stableInsert... | |||
April 02, 2022 General » Re: When will you implement cent and ucent? | |||
|---|---|---|---|
| |||
...cent/ucent have been dropped as keywords. alias cent = __c__int128; alias ucent = __c__uint128; | |||
April 02, 2022 General » Re: Possibility of adopting Rust's Error Handling? | |||
|---|---|---|---|
| |||
...0);
return n.get();
}
}
alias PanicGet = ErrorGet!((a){assert(a);});
alias ThrowGet = ErrorGet!(enforce);
void... | |||
April 01, 2022 Learn » Can std.variant be used with std.container.rbtree? | |||
|---|---|---|---|
| |||
...rbtree; import std.variant; // alias Type = int; // Works with no problem. alias Type = Variant; // Produces... | |||
April 01, 2022 General » Re: When will you implement cent and ucent? | |||
|---|---|---|---|
| |||
As long as the compiler errors display the alias and not the traits. -Steve | |||
April 01, 2022 Genel » Re: Bilmediğim bir sözdizilimi | |||
|---|---|---|---|
| |||
...üstünü okuyunca herhangi bir işlevi yeniden adlandırılabildiğini (alias yaz = writef; gibi) bilmiyordum. Şimdi birkaç deneme... | |||
April 01, 2022 General » Re: When will you implement cent and ucent? | |||
|---|---|---|---|
| |||
...hardware support and you just replace the alias. I don't know. As long as... | |||
April 01, 2022 General » Re: When will you implement cent and ucent? | |||
|---|---|---|---|
| |||
...this look something like ```d alias i128 = __traits(signed, 128); alias u512 = __traits(unsigned, 512... | |||
March 31, 2022 General » Re: When will you implement cent and ucent? | |||
|---|---|---|---|
| |||
...signed, 512)` and so on, plus some `alias ducent = __traits(signed, 256)` in object.d... | |||
Copyright © 1999-2021 by the D Language Foundation