std/hashes: hash(ref|ptr|pointer) + other improvements (#17731)
This commit is contained in:
parent
611b88763f
commit
d19e4310dc
5 changed files with 96 additions and 36 deletions
|
|
@ -85,3 +85,7 @@ template accept*(a) =
|
|||
|
||||
template reject*(a) =
|
||||
doAssert not compiles(a)
|
||||
|
||||
template disableVm*(body) =
|
||||
when nimvm: discard
|
||||
else: body
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue