Boost logo

Boost Users :

Subject: Re: [Boost-users] Error C2039 using portable syntax for MultiIndex with Boost 1.34.1 on VC6
From: Chris Secules (tangleman_at_[hidden])
Date: 2011-05-23 11:21:47


Tangleman <tangleman <at> secules.net> writes:

> > > typedef boost::multi_index::index<PDCUMessageList, ID>::type IDIndex;
> > > typedef boost::multi_index::index<PDCUMessageList, Name>::type NameIndex;
> >
 
> 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.
>

Sorry, my post a few moments ago was supposed to be in followup to this new
error (reference above). I still found nothing. I'll try posting on other
forums too. Any help? Please?

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