Making pure functions get dirty (D 2.0)

Burton Radons burton.radons at gmail.com
Fri Feb 20 17:54:44 PST 2009


Oh I see what's going on. pure functions get funky processing; if you don't actually use their return values they're not even compiled. Once you actually take the return value it'll complain about it whether it's a pure inner function in a pure outer function or anything else unless if it's a pure outer function which is perhaps the most useless thing you could have in this context.


More information about the Digitalmars-d-learn mailing list