January 26, 2022 General » Re: Generic structural recursion | |||
|---|---|---|---|
| |||
...getters. I suspect using the new(-ish) alias assign feature would help in defining that... | |||
January 26, 2022 General » Generic structural recursion | |||
|---|---|---|---|
| |||
...data1, X data2) {
foreach (field; FieldNameTuple!X) {
alias Type = typeof(__traits(getMember, X, field));
if... | |||
January 26, 2022 Learn » Re: gdc or ldc for faster programs? | |||
|---|---|---|---|
| |||
...int.min is still a
// negative number.
alias problematics = AliasSeq!(
byte, "negative 128",
short, "negative... | |||
January 26, 2022 Issues » [Issue 22706] New: Bad error message when trying to explicitly instantiate a function template with an auto ref parameter | |||
|---|---|---|---|
| |||
...void foo(T)(auto ref T arg) {}
alias bar = foo!int;
produces the error message... | |||
January 26, 2022 Issues » [Issue 20884] Using getMember with a type as first argument can lose type qualifiers. | |||
|---|---|---|---|
| |||
...string name)
{
alias Ref = __traits(getMember, T, name);
alias Type1 = typeof(Ref);
alias Type2 = typeof... | |||
January 25, 2022 Learn » Re: gdc or ldc for faster programs? | |||
|---|---|---|---|
| |||
...int.min is still a
// negative number.
alias problematics = AliasSeq!(
byte, "negative 128",
short, "negative... | |||
January 25, 2022 Learn » Re: passing a variadic parameter to randomSample | |||
|---|---|---|---|
| |||
...front % R.length){
static foreach(enum I, alias arg; r){
case I:
return arg;
}
default... | |||
January 24, 2022 Learn » Linkage question | |||
|---|---|---|---|
| |||
...string b, string c) {
/* stuff */
}
// --- main.d
alias T = extern (C) void function(int, string... | |||
January 24, 2022 Genel » Re: SONY-1: Short Scale Numbers | |||
|---|---|---|---|
| |||
...ulaşamayız. O yüzden sorunlu değerleri
// burada hallediyorouz.
alias sorunluDeğerler = AliasSeq!(
byte, "eksi 128",
short, "eksi... | |||
January 22, 2022 Learn » Re: forward tuple arg to local variable + dtor | |||
|---|---|---|---|
| |||
...apply(alias fn, Args...)(Args args)
if (allSatisfy!(isRcPtr, Args)) {
@property auto ref elm(alias... | |||
Copyright © 1999-2021 by the D Language Foundation