December 29, 2021 General » Re: Worst ideas/features in programming languages? | |||
|---|---|---|---|
| |||
...redesigned. The only thing that is preventing alias this from being replaced entirely is implicit... | |||
December 28, 2021 General » Re: Worst ideas/features in programming languages? | |||
|---|---|---|---|
| |||
`alias this` suffers from being under-specified. In an attempt to fix that, I discovered... | |||
December 29, 2021 Learn » Re: Is there a way to make a function parameter accept only values that can be checked at compile time? | |||
|---|---|---|---|
| |||
...stdc.stdio;
struct Literal(alias val)
{
enum value = val;
}
enum lit(alias val) = Literal!val... | |||
December 28, 2021 Learn » Re: Ambiguity issue with expanding and evaluating single template type parameter enums | |||
|---|---|---|---|
| |||
...struct) type is denoted `RVector!(REALSXP)`. But `alias REALSXP = SEXPTYPE.REALSXP` where `SEXPTYPE` is an... | |||
December 27, 2021 Learn » Re: Ambiguity issue with expanding and evaluating single template type parameter enums | |||
|---|---|---|---|
| |||
...alias DOUBLE = MyEnum.DOUBLE;
alias STRING = MyEnum.STRING;
alias INTEGER = MyEnum.INTEGER;
void main()
{
alias... | |||
December 27, 2021 Learn » Re: Ambiguity issue with expanding and evaluating single template type parameter enums | |||
|---|---|---|---|
| |||
...alias DOUBLE = MyEnum.DOUBLE;
alias STRING = MyEnum.STRING;
alias INTEGER = MyEnum.INTEGER;
void main()
{
alias... | |||
December 27, 2021 Learn » Ambiguity issue with expanding and evaluating single template type parameter enums | |||
|---|---|---|---|
| |||
...MyEnum type)
{}
auto getValue(T: MyType!U, alias U)(T x)
{
return U;
}
auto adder... | |||
December 25, 2021 General » Is this a bug or a VERY sneaky case? | |||
|---|---|---|---|
| |||
...limits; alias u8 = ubyte; alias i8 = byte; alias u16 = ushort; alias i16 = short; alias u32... | |||
December 25, 2021 Issues » [Issue 5380] alias this is not considered with superclass lookup | |||
|---|---|---|---|
| |||
...or the spec needs to specify that alias this in a super class is not... | |||
December 24, 2021 Issues » [Issue 5380] alias this is not considered with superclass lookup | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=5380 Max Samukha <maxsamukha@gmail.com> changed... | |||
Copyright © 1999-2021 by the D Language Foundation