On 2016-12-12 12:15, Nicholas Wilson wrote:
there is the pure function attribute, how ever this still allows you to use globals *if you pass them as parameters to the function*.
And it can access immutable global data. -- /Jacob Carlborg
Jacob Carlborg via Digitalmars-d-learn Mon, 12 Dec 2016 04:31:22 -0800
On 2016-12-12 12:15, Nicholas Wilson wrote:
there is the pure function attribute, how ever this still allows you to use globals *if you pass them as parameters to the function*.
And it can access immutable global data. -- /Jacob Carlborg