Metaclasses for embedded domain specific languages -- Simon Brand

A post about an application of the new Metaclasses proposal.

Metaclasses for embedded domain specific languages

by Simon Brand

From the article:

Metaclasses are a proposed feature to C++ which will allow the creation of abstractions over classes and the extension of the language’s type definition system. Templates are a powerful host for other languages, and metaclasses only make them more so.

Add a Comment

Comments are closed.

Comments (1)

0 0

Rob G said on Jul 7, 2017 03:34 PM:

A use case that immediately springs to mind is a Unit Testing framework that has no need for macros everywhere (been looking at these for C++ a lot recently)