mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-06 14:24:09 +00:00
fix bitset hash support
This commit is contained in:
parent
f00b15b8bf
commit
c2a401326c
2 changed files with 28 additions and 8 deletions
|
@ -192,6 +192,11 @@ namespace testspr {
|
|||
is >> bits;
|
||||
TESTSPR_ASSERT(bits == bitset_t(0xDEADBEEF));
|
||||
}
|
||||
|
||||
// 20.5.3 hash support
|
||||
|
||||
// sprout::to_hash, sprout::hash
|
||||
TESTSPR_BOTH_ASSERT(sprout::to_hash(bits1) == sprout::hash<bitset_t>()(bits1));
|
||||
}
|
||||
}
|
||||
} // namespace testspr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue