[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Openexr-user] Hi everybody
From: |
Dharmendra Bhojwani |
Subject: |
[Openexr-user] Hi everybody |
Date: |
Tue, 10 Oct 2006 03:07:15 -0700 (PDT) |
I have a function declaration like this in a template class.
template <class T> class CElement
{
public:
template <class Y> bool _internal_less (CElement<Y> const& rhs) const;
};
And following is the function defination...
template <class T, class Y> inline
bool CElement <T>::_internal_less (CElement<Y> const& rhs) const
{
return iCount < rhs.iCount;
}
when i compile it using , g++ , it gives error ....
"prototype for `bool CElement<T>::_internal_less(const CElement<Y>&) const' does not match any in class `CElement<T>'"
>> Can any body please help to findout the problem ?
Thanks
All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
- [Openexr-user] Hi everybody,
Dharmendra Bhojwani <=