[Boost-bugs] [Boost C++ Libraries] #1555: When BOOST_HASH_NO_EXTENSIONS is defined hash doesn't support boost::system::error_code

Subject: [Boost-bugs] [Boost C++ Libraries] #1555: When BOOST_HASH_NO_EXTENSIONS is defined hash doesn't support boost::system::error_code
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-06 12:12:34


#1555: When BOOST_HASH_NO_EXTENSIONS is defined hash doesn't support
boost::system::error_code
--------------------------+-------------------------------------------------
 Reporter: danieljames | Owner: danieljames
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: hash
  Version: Boost 1.34.1 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 std::hash supports std::error_code so boost::hash should support
 boost::system::error_code. Boost.System defined 'hash_value' so when
 BOOST_HASH_NO_EXTENSIONS is not defined it does, but when
 BOOST_HASH_NO_EXTENSIONS is defined an explicit specialization is needed.
 Documentation should be added as well.

 I'd actually prefer not to do this as it would mean either declaring
 boost::system::error_code myself or adding a dependency on Boost.System.
 Neither of which is desirable.

 The other solution would be to remove support for the
 BOOST_HASH_NO_EXTENSIONS macro. Or to just note the problem.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1555>
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