|
Boost : |
Subject: Re: [boost] [unordered] error: template argument required for struct set_extractor
From: Daniel James (dnljms_at_[hidden])
Date: 2010-10-06 11:10:18
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
Daniel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk