| delorie.com/archives/browse.cgi | search |
| From: | Erik Max Francis <max AT alcyone DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: g++: inheriting static members |
| Date: | Sat, 04 Jul 1998 11:40:10 -0700 |
| Organization: | Alcyone Systems |
| Lines: | 17 |
| Message-ID: | <359E770A.5B096E25@alcyone.com> |
| References: | <359CFE52 DOT 2A0B AT sympatico DOT ca> <359D624A DOT 3C0599DA AT uol DOT com DOT br> |
| NNTP-Posting-Host: | charmaine.alcyone.com |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Juciê Dias Andrade wrote:
> There is another way to achieve the same efect.
> You can declare a virtual funtion in the basic class, thus
> "overriding"
> what would otherwise be a static data member.
You can't declare static members as virtual.
--
Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
Alcyone Systems / http://www.alcyone.com/max/
San Jose, California, United States / icbm:+37.20.07/-121.53.38
\
I put away my nine, fool / 'cause I'm colorblind.
/ Ice Cube
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |