Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6792: hash_value() for iterator_range
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-14 21:22:48
#6792: hash_value() for iterator_range
-------------------------------------------------------+--------------------
Reporter: Olaf van der Spek <olafvdspek@â¦> | Owner: neilgroves
Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------------+--------------------
Changes (by danieljames):
* owner: => neilgroves
* component: None => range
Comment:
`hash_value` would be nice for iterator range. See [77976] for how an
example of how to support it, `hash_value` is picked up by ADL.
The problem with operator bool is really a design flaw in Boost.Hash. It
should be possible to turn it into an error by defining the macro
`BOOST_HASH_NO_IMPLICIT_CASTS`, although that isn't defined by default
because it might break valid code.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6792#comment:1> 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:50:09 UTC