default implemented opAssign purity

Dan dbdavidson at yahoo.com
Sun Dec 2 14:04:29 PST 2012


On Sunday, 2 December 2012 at 19:34:46 UTC, Jonathan M Davis 
wrote:
> Pretty much none of the built-in stuff like that is pure or 
> nothrow right now.
> It needs to be fixed.

Maybe I'm naive, but problems with lax specification of pure, 
const and immutable should be low hanging fruit - relatively easy 
to fix and good bang for buck. The problem with being lax in 
phobos or object is that it gives a sense of false advertising. 
Great language features with great promise as described by TDPL, 
but can't use it if not done everywhere.



More information about the Digitalmars-d-learn mailing list