|
Boost Users : |
Subject: Re: [Boost-users] Error C2039 using portable syntax for MultiIndex with Boost 1.34.1 on VC6
From: Tangleman (tangleman_at_[hidden])
Date: 2011-05-20 13:41:54
>
> > typedef boost::multi_index::index<PDCUMessageList, ID>::type IDIndex;
> > typedef boost::multi_index::index<PDCUMessageList, Name>::type NameIndex;
>
Joaquin,
That did seem to fix that error. Thanks!
I could've sworn that I tried that before and it didn't work. Now, however,
I've got the same error occuring in one of the boost classes:
lambda_traits.hpp. I'm not explicitly using lambda_traits, so it must be
multi_index that is using it. Here's the error and location:
C2039: 'access_traits': is not a member of 'tuples'
line 106 in lambda_traits:
104 template<int N, class T> struct tuple_element_as_reference {
105 typedef typename
106 boost::tuples::access_traits<
107 typename boost::tuples::element<N, T>::type
108 >::non_const_type type;
109 };
I'll try to look for a solution online myself, as well as wait for any
suggestions.
Thanks!
Chris
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net