[Q]: Templates and parameter names

J

james545

Hi,

I am having conflicts with a class template I have called "tree", and a

paramter named "tree" for a function in a library called OpenCV.
Any suggestions or insights for solving this problem?
Thanks for your help. (I am using visual c++ 6.0)

I am getting this error:
c:\program files\opencv\cv\include\cv.h(2146) : error C2955: 'tree' :
use of class template requires template argument list
c:\work\projects\test\tree.h(772) : see declaration of 'tree'

Line (2146) of cv.h:
OPENCVAPI CvSeq* cvContourFromContourTree( CvContourTree *tree,
CvMemStorage* storage,
CvTermCriteria criteria );
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top