Boost C++ Libraries: Ticket #1555: When BOOST_HASH_NO_EXTENSIONS is defined hash doesn't support boost::system::error_code https://svn.boost.org/trac10/ticket/1555 <p> 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. </p> <p> 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. </p> <p> The other solution would be to remove support for the BOOST_HASH_NO_EXTENSIONS macro. Or to just note the problem. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1555 Trac 1.4.3 Daniel James Sun, 06 Jan 2008 18:45:42 GMT status changed https://svn.boost.org/trac10/ticket/1555#comment:1 https://svn.boost.org/trac10/ticket/1555#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Daniel James Sun, 01 Jun 2008 10:10:23 GMT milestone changed https://svn.boost.org/trac10/ticket/1555#comment:2 https://svn.boost.org/trac10/ticket/1555#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.36.0</span> → <span class="trac-field-new">Boost 1.37.0</span> </li> </ul> Ticket Daniel James Sat, 21 Feb 2009 18:18:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1555#comment:3 https://svn.boost.org/trac10/ticket/1555#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> Ticket