On Saturday, 6 June 2015 at 17:06:37 UTC, Dennis Ritchie wrote:
[snip]
`static if(5 in hash) {}` will not work because (5 in hash) returns a pointer to the value or null if the key oesn't exist.
bye, lobo
lobo via Digitalmars-d-learn Sat, 06 Jun 2015 20:08:01 -0700
On Saturday, 6 June 2015 at 17:06:37 UTC, Dennis Ritchie wrote:
[snip]
`static if(5 in hash) {}` will not work because (5 in hash) returns a pointer to the value or null if the key oesn't exist.
bye, lobo