Parameter pack expansion

Tomas skrivantomas at seznam.cz
Thu May 30 21:26:44 UTC 2019


On Thursday, 30 May 2019 at 20:34:18 UTC, Adam D. Ruppe wrote:
> Foo foo;
> test(foo.tupleof); // works!

This is really neat! I will definitely use this in the future.

> import std.meta;
>
> then staticMap is like what your myMap thing was.
>
> http://dpldocs.info/experimental-docs/std.meta.staticMap.html

I'm already using `staticMap` to transform types but can 
`staticMap` be used also to transform values? I do not see how.


More information about the Digitalmars-d-learn mailing list