Generality creep

Walter Bright newshound2 at digitalmars.com
Tue Mar 19 19:36:23 UTC 2019


On 3/19/2019 6:35 AM, Jonathan Marler wrote:
> +1 that these corner cases should not be supported in phobos, but at this point 
> how could phobos drop support for these cases? In fact I'm pretty sure I've 
> written a fair amount of code that depends on them (i.e. using alias this to 
> subtype with an rvalue...hey, we all make mistakes). Of course I'm more than 
> willing to fix my code but we're talking about a huge breaking change here. 
> What's the path forward?

I'd suggest making a separate overload for the square wheels, and deprecate them.


More information about the Digitalmars-d mailing list