work around interrogate bug

This commit is contained in:
cxgeorge 2002-11-22 23:21:58 +00:00
parent 10d2821730
commit bc88ef7212

View File

@ -452,11 +452,21 @@ operator -> () const {
// don't care which way it goes because either will be
// correct.
////////////////////////////////////////////////////////////////////
#ifndef CPPPARSER
template<class T>
INLINE typename ConstPointerTo<T>::
operator const typename PointerToBase<T>::To *() const {
return _ptr;
}
#else
// work around lame interrogate parser bugs
template<class T>
INLINE ConstPointerTo<T>::
operator const PointerToBase<T>::To *() const {
return _ptr;
}
#endif
////////////////////////////////////////////////////////////////////
// Function: ConstPointerTo::p