Boost logo

Boost Users :

Subject: Re: [Boost-users] Compilation Error in Boost::unordered_detail::hash_table on boost 1_46_1
From: Daniel James (dnljms_at_[hidden])
Date: 2011-07-02 07:43:39

On 30 June 2011 12:53, Shinil Gangadharan <Shinil.Gangadharan_at_[hidden]> wrote:
> I am using Sun CC v5.9 compiler to compile boost 1_46_1.  We are getting the
> following error.  Is there a way to get around with this error?
> "/dvobs/a-ThirdParty/Boost/boost_1_46_1/boost/unordered/detail/table.hpp",
> line 595: Error: Too many args in template, from
> boost::unordered_detail::Hash on ignored.

We haven't had a Sun 5.9 tester for some time. So you probably need to
either upgrade to Sun 5.10 or use an older version of boost, 1.41
seems to be the last version that was tested on Sun 5.9.

FWIW The actual problem seems to be caused by use of out of line
template member function of template classes (e.g. 'template<class A>
template<class B> void foo<A>::(B b)'), which earlier versions didn't
use because of poor compiler support.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at