So I encountered a problem recently, and the best way to solve it was either:
-
only implementing
new
for a specific variant ofS
, however usually you don’t have any suitable “default” type - having the user specify an irrelevant type
- having
new
be a normal free function
Is there any proper solution I am not aware of?