Opened 15 years ago
Closed 14 years ago
#1554 closed Bugs (wontfix)
When BOOST_HASH_NO_EXTENSIONS is defined hash doesn't support new string types.
| Reported by: | Daniel James | Owned by: | Daniel James | 
|---|---|---|---|
| Milestone: | Boost 1.37.0 | Component: | hash | 
| Version: | Boost 1.34.1 | Severity: | Problem | 
| Keywords: | Cc: | 
Description
When BOOST_HASH_NO_EXTENSIONS is defined boost::hash only supports the types it has been explicitly specialized for, which doesn't include std::u16string and std::u32string. I don't know of any existing implementations, but it would be good to be prepared.
To support them I need:
- A macro to be defined when they're present (in Boost.Config?)
- Add specializations to hash.hpp
- Add tests to hash_string_test.cpp
- Add documentation
When BOOST_HASH_NO_EXTENSIONS is not defined they should work automatically (but it'd still be good to test this).
Change History (3)
comment:1 by , 15 years ago
| Status: | new → assigned | 
|---|
comment:2 by , 14 years ago
| Milestone: | Boost 1.36.0 → Boost 1.37.0 | 
|---|
comment:3 by , 14 years ago
| Resolution: | → wontfix | 
|---|---|
| Status: | assigned → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
