Subject: [Boost-bugs] [Boost C++ Libraries] #1554: When BOOST_HASH_NO_EXTENSIONS is defined hash doesn't support new string types.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-06 12:06:12
#1554: When BOOST_HASH_NO_EXTENSIONS is defined hash doesn't support new string
types.
--------------------------+-------------------------------------------------
Reporter: danieljames | Owner: danieljames
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: hash
Version: Boost 1.34.1 | Severity: Problem
Keywords: |
--------------------------+-------------------------------------------------
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).
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1554>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC