|
From: <Ulr...@ao...> - 2007-07-29 16:26:09
|
Hi Kristian, did you try writing std::vector<ArvoreB<T> >::iterator it_filho; instead of std::vector<ArvoreB >::iterator it_filho; ? Since a few years, compilers tend to think very general about templates. For them, It could be that in implementing your function you wish to make use of class ArvoreB<int>. It is not easy to infer answers to such questions from authoritative literature (such as C++ templates, The complete Guide by D. Vandevoorde and N.M. Josutis) in a way that your compiler agrees. Regards, Ulrich |