TypesOf

Returns the types of all values given. * * If a T is an expression it is resolved with typeof else it is just * appended. * * Returns: AliasSeq of the resulting types

@safe
template TypesOf (
Values...
) {}

Examples

import std.meta : AliasSeq;
static assert(is(TypesOf!("hello", 1, 2, 3.0, real) ==
                 AliasSeq!(string, int, int, double, real)));

Meta