
7 Sep
2006
7 Sep
'06
6:02 a.m.
Hi, I am getting this error message, when using boost::tuple: include\boost\tuple\detail\tuple_basic.hpp(373) : error C2039: 'tail' : is not a member of 'boost::tuples::cons<HT,TT>' 1> with 1> [ 1> HT=UTX::DB::nulled_type<unsigned char>, 1> TT=boost::tuples::null_type 1> ] The referred line is the templated constructor of the non-specialised struct cons: template <class HT2, class TT2> cons( const cons<HT2, TT2>& u ) : head(u.head), tail(u.tail) {} So it seems that somehow the non-specialised method is called for the specialised template instantiation. Has anybody seen something like this? Is there a way to circumvent it? Thx ImRe