Subject: [Boost-bugs] [Boost C++ Libraries] #1683: Boost Intrusive - Superflous template parameter
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-03-14 13:30:10
#1683: Boost Intrusive - Superflous template parameter
--------------------------------+-------------------------------------------
Reporter: boost_at_[hidden] | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: intrusive
Version: Boost 1.34.1 | Severity: Problem
Keywords: |
--------------------------------+-------------------------------------------
In boost/intrusive/unordered_set.hpp
template<class KeyType, class KeyHasher, class KeyValueEqual, class
Disposer>
size_type count(const KeyType& key, KeyHasher hash_func, KeyValueEqual
equal_func) const
{ return table_.count(key, hash_func, equal_func); }
The 'class Disposer' template argument is superflous. With that there, the
compiler is not able to automatically infer the template types so I can't
write foo.count<>(key,hash,equal).
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1683>
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