Boost logo

Boost Users :

From: imre_at_[hidden]
Date: 2006-09-07 02:02:07


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


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