Re: pointer to structure?

From: Sharad Kala (no_spam.sharadk_ind_at_yahoo.com)
Date: 10/20/04


Date: Wed, 20 Oct 2004 09:53:44 +0530


"Rob Williscroft" <rtw@freenet.co.uk> wrote in message
> Firewalker wrote in news:_s2dneMjOc5sfujcRVn-vQ@rogers.com in

> There is only *one* difference between struct's and class's and that's

On a side note, the class keyword is superior to struct in one more way. You
can't write - template <struct Mytype>, but template <class Mytype> is
perfectly legal.

 :-)

Sharad



Relevant Pages

  • Re: Template specialization
    ... > struct MyType ... > template but how to do it? ... template <int w_val> ...
    (comp.lang.cpp)
  • Template specialization
    ... struct MyType ... template but how to do it? ... I tried many ways but I have syntax/compiler issues. ...
    (comp.lang.cpp)