Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove endpoint_hash from std namespace #1460
A struct template endpoint_hash and full explicit specializations were defined within the std namespace; I have moved them out. As they are only used within this file I have wrapped them in an unnamed namespace and moved the existing endpoint_hash_raw & ip_address_hash_raw static functions into that as well; using static for internal linkage should be avoided (see More Effective C++ Item 31).