The OpenD Programming Language

Tuple.fieldNames

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

import std.typecons;
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