Tuple.fieldNames

The names of the Tuple's components. Unnamed fields have empty names.

struct Tuple
alias fieldNames = staticMap!(extractName, fieldSpecs)

Examples

import std.meta : AliasSeq;
alias Fields = Tuple!(int, "id", string, float);
static assert(Fields.fieldNames == AliasSeq!("id", "", ""));

Meta