On Saturday, 23 November 2019 at 20:22:44 UTC, Ola Fosheim Grøstad wrote: > I guess it is possible to use introspection somehow? Yeah, you have to write a function that checks it with introspection and then static assert on it somewhere.