On Friday, 11 March 2022 at 04:41:40 UTC, Andrey Zherikov wrote:
I have simple template:
```d
template T(int i=3)
{
mixin template M(int m)
{
enum t = i;
}
}
{
mixin T!1.M!1;
pragma(msg, t); // 1
}
{
mixin T!().M!1;
pragma(msg, t); // 3
On Tuesday, 25 January 2022 at 20:04:04 UTC, Adam D Ruppe wrote:
Not surprising at all: gdc is excellent and underrated in the
community.
The performance metrics are just a bonus. Gdc is the main reason
I can get my worksite to take D seriously since we're a
traditional unix shop (solaris ->
I have simple template:
```d
template T(int i=3)
{
mixin template M(int m)
{
enum t = i;
}
}
{
mixin T!1.M!1;
pragma(msg, t); // 1
}
{
mixin T!().M!1;
pragma(msg, t); // 3
}
{
mixin T.M!1; // Error: identifier `M` of `T.M` is not
On Thu, Mar 10, 2022 at 05:39:34PM +, Chris Piker via Digitalmars-d-learn
wrote:
> Hi D
>
> There are quite a few string, array and range functions in phobos so
> I'm getting confused as to the right way to encode string data as
> UTF-8 directly into a stack buffer while keeping track of the
Hi D
There are quite a few string, array and range functions in phobos
so I'm getting confused as to the right way to encode string data
as UTF-8 directly into a stack buffer while keeping track of the
write point.
I have some output packets I'm building up in a tight loop. For
speed I'm u