|
-
April 9th, 1999, 09:31 AM
#1
How to fix template ambiguity
Hi all,
I have defined this pair of templates :
template<class T>
inline
CArchive& AFXAPI operator >>(CArchive& ar, T& t)
{
...
}
template<class T>
CArchive& AFXAPI operator >>(CArchive& ar, <B>std::vector<T></B>& v)
{
...
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|