[Boost-bugs] [Boost C++ Libraries] #11171: boost::unordered_multimap doesn't work with gcc3.4.5

Subject: [Boost-bugs] [Boost C++ Libraries] #11171: boost::unordered_multimap doesn't work with gcc3.4.5
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-07 08:37:05


#11171: boost::unordered_multimap doesn't work with gcc3.4.5
------------------------------------+-------------------------
 Reporter: jrjbear@… | Owner: danieljames
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: unordered
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: SFINAE under GCC 3.4.5 |
------------------------------------+-------------------------
 #include <boost/unordered_map>
 int main(int argc, char* argv[]) {
     boost::unordered_multimap<int, double> m; // compile error!
 }

 ../third-64/boost/include/boost/unordered/detail/equivalent.hpp:507:
 error: `template<class I> typename
 boost::unordered::detail::disable_if_forward<I, void>::type
 boost::unordered::detail::grouped_table_impl::insert_range(I, I) [with I =
 I, Types =
 boost::unordered::detail::multimap<std::allocator<std::pair<const int,
 double> >, int, double, boost::hash<int>, std::equal_to<int> >]' and
 `template<class I> typename boost::unordered::detail::enable_if_forward<I,
 void>::type boost::unordered::detail::grouped_table_impl::insert_range(I,
 I) [with I = I, Types =
 boost::unordered::detail::multimap<std::allocator<std::pair<const int,
 double> >, int, double, boost::hash<int>, std::equal_to<int> >]' cannot be
 overloaded

 It seems GCC 3.4.5 doesn't support SFINAE very well on function
 `insert_range' in `unordered/detail/equivalent.hpp'.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11171>
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:18 UTC