Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2004-04-06 19:47:37


"Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> wrote in message
news:c4vh07$a38$1_at_sea.gmane.org...
> > template <typename T>
> > class nonderivable_base
> > {
> > friend typename identity<T>::type;
> > };
>
> Does is allowed by standard?

Cameau says:

"ComeauTest.c", line 8: error: friend class name may not be introduced with
          "typename"
    friend typename identity<T>::type;
    ^

Gennadiy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk