Have a template function register(T)() instantiated and executed at startup for all sub classes of a specific base class?

TwoOfCups TwoOfCups at notreal.com
Sun Sep 21 14:21:49 UTC 2025


On Sunday, 21 September 2025 at 13:43:46 UTC, user1234 wrote:
> ...

While both of these would work, it misses the spirit of the 
question. I am specifically asking if there is a way to avoid 
things like that.



More information about the Digitalmars-d mailing list