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.

Reply via email to