Most basic nothrow, pure, @safe functions?

Walter Bright newshound2 at digitalmars.com
Thu Mar 20 19:00:15 PDT 2014


On 3/20/2014 6:40 PM, Steven Schveighoffer wrote:
> How do they affect global state?

Mutexes implicitly share state. It's the reason they exist. They can't be pure, 
because pure functions don't share state.



More information about the Digitalmars-d mailing list