I was under the impression that the following code was legal. Codewarrior gives me a "declaration syntax error" on the word friend. Any language options I might have wrong?
template <class X>
class AAA
{
};
class BBB
{
template <class X> friend class AAA;
};
KP
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
