forward declare a template class

Discussion in 'C++' started by amit gulati, Nov 17, 2003.

  1. amit gulati

    amit gulati Guest

    Is it possible to forward declare a template class using "class XXX".
    If yes, then what is the syntax??
    amit gulati, Nov 17, 2003
    #1
    1. Advertising

  2. "amit gulati" <> wrote...
    > Is it possible to forward declare a template class using "class XXX".
    > If yes, then what is the syntax??


    Yes:

    template< arguments > class XXX;


    Victor
    Victor Bazarov, Nov 17, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. christopher diggins
    Replies:
    16
    Views:
    735
    Pete Becker
    May 4, 2005
  2. Replies:
    4
    Views:
    3,765
    Neil Cerutti
    Nov 29, 2005
  3. Replies:
    23
    Views:
    2,648
    Shezan Baig
    Jan 31, 2006
  4. =?gb2312?B?wfXquw==?=
    Replies:
    10
    Views:
    685
    Victor Bazarov
    Aug 1, 2007
  5. Daniel T.
    Replies:
    1
    Views:
    317
    Kai-Uwe Bux
    Jan 20, 2009
Loading...

Share This Page