Boost logo

Boost :

Subject: Re: [boost] [unordered] error: template argument required for ‘struct set_extractor’
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2010-10-17 00:03:28


On 08/10/10 00:42, Mateusz Loskot wrote:
> On 06/10/10 16:10, Daniel James wrote:
>> On 6 October 2010 16:00, Mateusz Loskot <mateusz_at_[hidden]> wrote:
>>>
>>> 1) set_extractor
>>>
>>>
>>> a) original code
>>>
>>> template <class ValueType>
>>> struct set_extractor
>>> {
>>> typedef ValueType value_type;
>>> typedef ValueType key_type;
>>>
>>>
>>> b) preprocessed output
>>>
>>> struct set_extractor
>>> {
>>> template <class ValueType>
>>> struct apply
>>> {
>>> typedef ValueType value_type;
>>> typedef ValueType key_type;
>>
>> It looks like you've got Boost 1.41 installed at /usr/local/, and are
>> somehow mixing up headers from different versions of boost:
>>
>> http://svn.boost.org/svn/boost/tags/release/Boost_1_41_0/boost/unordered/detail/extract_key.hpp
>> http://svn.boost.org/svn/boost/tags/release/Boost_1_44_0/boost/unordered/detail/extract_key.hpp
>
>
> Thanks for pointing me to this difference.
> It looks it may be a mess in the environment we use indeed.
>
> I haven't confirmed yet, but I will once I get connected with that
> machine again.

Daniel,

Indeed, the files/versions mismatch was the root of the problem.
Thank you once again.

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk