On 4/9/2013 3:52 AM, Joseph Rushton Wakeling wrote:
I do agree that it's a great pity there is not a way to declare strong purity for D functions.
Sure there is. Declare the function as pure, and the function's parameters as const or immutable.
On 4/9/2013 3:52 AM, Joseph Rushton Wakeling wrote:
I do agree that it's a great pity there is not a way to declare strong purity for D functions.
Sure there is. Declare the function as pure, and the function's parameters as const or immutable.