On 3/31/18 8:35 PM, Nicholas Wilson wrote:
On Saturday, 31 March 2018 at 20:44:13 UTC, Andrei Alexandrescu wrote:Yah, only strongly pure functions would qualify. Indeed that's easy for the compiler to figure - so I'm thinking pragma(isStronglyPure, expression) would be easy to define.What would be some good uses of this? AndreiSurely you mean __traits(isStronglyPure, expression)?
Affirmative, thx for the correction.