Re: Not everyone c++ constructions has been parsed well
"Zebrik.0xFF" <[email protected]>
| Newsgroups | gmane.text.doxygen.devel |
|---|---|
| Message-ID | <[email protected]> |
Marcus Lindblom ?????:
>
> >> is not valid C++ in template defs. use > > . (or was that a typo?)
>
> (It might be that VS 2005 swallows it, but it's not ok.)
>
> /Marcus
>
compiler output:
1> xxxx.h(18) : see declaration of 'iA'
1> xxxx.h(93) : see reference to class template instantiation 'C<T1,T2>'
being compiled
1>yyyy.h(18) : error C2955: 'iA' : ****use of class template requires
template argument list***
*So You think that it is a M$ feature ?
So how to do a inheritance from template classes iA and iB to template
class C ??:
template <class T1,class T2>
class C
: public iA //like this?
, public iB //like this?
{...};
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/