January 01, 2022 General » [SAoC 2021] Replace druntime Hooks with Templates: Milestone 4, Week 2 | |||
|---|---|---|---|
| |||
...m currently stuck on the `_d_arraycatnTXTrace` alias, however. As it's [currently implemented](https... | |||
January 01, 2022 Issues » [Issue 22641] New: dmd reports wrong line number (Error: expression ... is not a valid template value argument) | |||
|---|---|---|---|
| |||
...d
class R {
}
void foo (R r)
{
}
alias fn = void function (R);
void lyr (fn... | |||
January 01, 2022 General » Re: 2d array | |||
|---|---|---|---|
| |||
...some chess stuff. ```d alias cell=int; alias row=cell[8]; alias grid=row[8... | |||
December 31, 2021 Learn » Re: function(pointer) as template argument, explicit template instantiation | |||
|---|---|---|---|
| |||
[...]
--------
struct R {}
void lyr(alias Fn)(ref R r)
{
Fn(r);
}
void foo(ref R... | |||
December 31, 2021 Learn » Re: function(pointer) as template argument, explicit template instantiation | |||
|---|---|---|---|
| |||
...constraint:
```
class R {}
void foo(R r){}
alias fn = void function(R);
//function compile time... | |||
December 31, 2021 General » SAOC LLDB D integration: 15th Weekly Update | |||
|---|---|---|---|
| |||
...hopefully start implementing DIDerivedType which includes DWARF tags for `const` type modifiers, `alias`/`typedef`s,... | |||
December 31, 2021 Learn » function(pointer) as template argument, explicit template instantiation | |||
|---|---|---|---|
| |||
...d
class R {
}
void foo (R r)
{
}
alias fn = void function (R);
void lyr (fn... | |||
December 30, 2021 General » Re: Is this a bug or a VERY sneaky case? | |||
|---|---|---|---|
| |||
...So it's like "alias u8 = ubyte", "alias i8 = byte", "alias u16 = ushort" etc. A... | |||
December 30, 2021 Learn » Re: How to find how many places from left the dot appears in a flot/double? | |||
|---|---|---|---|
| |||
...stdio, std.math;
void main(string[] args)
{
alias numDigits = (f) => log10(f + 0.5).ceil();
}
``` | |||
December 29, 2021 General » Re: Worst ideas/features in programming languages? | |||
|---|---|---|---|
| |||
...would be interchangeable alias Vector(size_t dim) = float[dim]; // Also interchangeable alias Vector(size... | |||
Copyright © 1999-2021 by the D Language Foundation