mirror of
https://github.com/boostorg/unordered.git
synced 2026-02-03 21:55:07 +01:00
9bd3f498a76b563d82098d6078a28b1428bc7f97
On some compilers, friend functions are being instantiated when the main class is explicitly instantiated. This is slightly problematic because the equality functions (which are an extension) put extra requirements on the types used. So I'm going to try defining the functions outside of the class, in the hope that they won't get instantiated. If someone wants non-member functions to be instantiated, I think it's reasonable to expect them to explicitly instantiate them, especially as compilers don't seem to be consistent about this. [SVN r46579]
Description
Languages
C++
98.6%
Python
0.8%
CMake
0.5%