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:

  1. A macro to be defined when they're present (in Boost.Config?)
  2. Add specializations to hash.hpp
  3. Add tests to hash_string_test.cpp
  4. 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 Daniel James, 15 years ago

Status: newassigned

comment:2 by Daniel James, 14 years ago

Milestone: Boost 1.36.0Boost 1.37.0

comment:3 by Daniel James, 14 years ago

Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.