mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17: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_;
|
int key::count_;
|
||||||
|
|
||||||
|
std::ostream& operator<<(std::ostream& os, key const& k)
|
||||||
|
{
|
||||||
|
os << "key { x_: " << k.x_ << " }";
|
||||||
|
return os;
|
||||||
|
}
|
||||||
|
|
||||||
struct transparent_hasher
|
struct transparent_hasher
|
||||||
{
|
{
|
||||||
typedef void is_transparent;
|
typedef void is_transparent;
|
||||||
|
Reference in New Issue
Block a user