On 3/27/19 8:29 PM, Jamie wrote:
> Is it possible to assign to all values in a tuple at once if they are
> the same type?
> I.e.
>
> Tuple!(double, "x", double, "y") t;
> t[] = 1.0;
>
foreach (ref member; t.expand) {
member = 1.0;
}
On Saturday, 30 March 2019 at 10:19:15 UTC, number wrote:
The first link in the blog post to '..the last blog post' links
to the 0022 article itself, not to a previous one.
Corrected.
BTW, it compiles fine without 'import gtk.c.types', too.
Main.d (and maybe others) contains a 'public
On Friday, 29 March 2019 at 14:25:16 UTC, Ron Tarrant wrote:
There's a new tutorial for using a GTK Grid. You can find it
here: http://gtkdcoding.com/2019/03/29/0022-grids.html
Thanks!
The first link in the blog post to '..the last blog post' links
to the 0022 article itself, not to a
On Saturday, 30 March 2019 at 05:08:48 UTC, Alex wrote:
How do I get the module name that a function is defined in?
There is
https://dlang.org/library/std/traits/module_name.html
I have a generic template that
auto Do(T)()
{
pragma(msg, moduleName!T);
}
in a module
This is strange,