I had the same problem with 1_47_0
Changed boost/unordered/detail/table.hpp file in the following way
template <class T>
template
inline BOOST_DEDUCED_TYPENAME hash_table<T>::node_ptr
hash_table<T>::find_iterator(bucket_ptr bucket, Key const& k,
Pred const& eq) const
and
template <class T>
template <class Key, class Hash, class Pred>
BOOST_DEDUCED_TYPENAME hash_table<T>::iterator_base
hash_table<T>::find(Key const& k,
Hash const& h, Pred const& eq) const
in both cases the return type was taken out of T, after taking it out of
hash_table<T> SunCC compiles the code.
Strange enough, non-template versions of both functions work with T::
I used Sun Studio 12 (not the 12.2 update) under Solaris 5.9
I also have access to Sun Studio 12 and update 12.2 on Solaris 5.10 (both
sparc/x86)
I use apache stdcxx 4.2.1 (I find it more standard-compliant without using
strange macros _STLP_xxxx than STLport and better fitting the compiler - it
completely replaces built-in libCstd, even exception and typeinfo headers)
--
View this message in context: http://boost.2283326.n4.nabble.com/Compilation-Error-in-Boost-unordered-deta...
Sent from the Boost - Users mailing list archive at Nabble.com.