Thank you for the detailed answer! I will look into feasibility
at runtime, or I'll default back to generating the list
programmatically to feed into the mixin.
On Saturday, 19 October 2024 at 08:51:20 UTC, Noé Falzon wrote:
tl;dr: is it possible to iterate over all classes in a program
at compile time (or possibly all derived classes from a given
base class) to use in a mixin?
No, parent class can not possibly know who extends it, just think
about
tl;dr: is it possible to iterate over all classes in a program at
compile time (or possibly all derived classes from a given base
class) to use in a mixin?
Longer version:
Hi! I'm essentially trying to select which class to
instantiate/use as template argument based on a runtime string
(user