static map as a type function
uplink.coder at googlemail.com
Thu Sep 24 04:58:12 UTC 2020
On Thursday, 24 September 2020 at 04:39:43 UTC, Paul Backus wrote:
> I agree that tuple auto-expansion is weird, but what are we
> supposed to do about it, just never use tuples? It's not like
> the type function version gets rid of them either--the alias
> only exists inside the function, so you still have to deal with
> tuples if you want to use the result.
nope. staticMap_tf!sizeOf returns a regular size_t.
not a tuple.
More information about the Digitalmars-d