SuperC documentation

⚠️ This is a PROPOSAL DRAFT. #definefor are currently not implemented. Syntax may change

#definefor macro

The preprocessor will duplicate the region, substituting the macro name with each one of the values listed.

Note that this has been created primarly as a workaround to implement generics meta-programming, but it can be used for other purposes.

Define template region


Previous

(DRAFT) Defer edge cases

Next

(DRAFT) Generics meta-programming
Playground