Attempting to call rehash produces a link error: std::tr1::unordered_set< int > s; s.rehash(42);
// undefined reference to `std::tr1::hashtable<int, int, std::allocator<int>, // Internal::identity<int>, std::equal_to<int>, std::tr1::hash<int>, // Internal::mod_range_hashing, Internal::default_ranged_hash, // Internal::prime_rehash_policy, false, true, true>::rehash(unsigned int)' -- Summary: tr1/hashtable: rehash not implemented Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zak at transversal dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26132