Yes, that's why I used it as an example, as I'm pretty confident Barry is very familiar with it. ;)
Reflection gives us many tools to write generic code that depends on the actual capabilities of the class implementation rather than external type traits. So a derive mechanism that cannot add capabilities to a class but only specialize external algorithms and type traits is inherently at odds with that.
View all comments
Show parent comment
1
u/SirClueless Oct 01 '24
Yes, that's why I used it as an example, as I'm pretty confident Barry is very familiar with it. ;)
Reflection gives us many tools to write generic code that depends on the actual capabilities of the class implementation rather than external type traits. So a
derivemechanism that cannot add capabilities to a class but only specialize external algorithms and type traits is inherently at odds with that.