forked from boostorg/unordered
Fix the return values of the case insensitive hash examples.
[SVN r41126]
This commit is contained in:
1 parent
f0c62d3f0f
commit
50650fbd34
2 files changed
+80
-2
No files matched your search
@@ -34,13 +34,13 @@ namespace hash_examples
|
||||
};
|
||||
|
||||
struct ihash
|
||||
: std::unary_function<std::string, bool>
|
||||
: std::unary_function<std::string, std::size_t>
|
||||
{
|
||||
ihash() {}
|
||||
explicit ihash(std::locale const& l) : locale_(l) {}
|
||||
|
||||
template <typename String>
|
||||
bool operator()(String const& x) const
|
||||
std::size_t operator()(String const& x) const
|
||||
{
|
||||
std::size_t seed = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user