mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
Add ostream
support for key
type used in transparent tests
This commit is contained in:
@ -24,6 +24,12 @@ struct key
|
||||
|
||||
int key::count_;
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, key const& k)
|
||||
{
|
||||
os << "key { x_: " << k.x_ << " }";
|
||||
return os;
|
||||
}
|
||||
|
||||
struct transparent_hasher
|
||||
{
|
||||
typedef void is_transparent;
|
||||
|
Reference in New Issue
Block a user