type templates

ids sind strings, die Variablennamen oder Funktionsnamen beschreiben. Stringfunktionen (constexpr) werden zur compiletime ausgeführt.

Vector( v1 is id = x, v2 is id = y ) contains 
{ 
  v1, v2 is double;
  
  "get"+v1.FirstCharUpper() is method( return v1; }  // definiert Mathode getX()
  "get"+v2.FirstCharUpper() is method( return v2; }  // definiert Mathode getY()
};

Offsets is Vector( offset1, offset2 );

double x = Offsets.getOffset1()