This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Inherite from template witth gcc 3.4
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: "Lev Assinovsky" <LAssinovsky at algorithm dot aelita dot com>
- Cc: "Laurent Marzullo" <marzullo at la-defense dot oilfield dot slb dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Thu, 10 Jun 2004 14:07:06 +0200
- Subject: Re: Inherite from template witth gcc 3.4
- References: <A791774B798C024D98F7E10961E99E71278E9E@SPBMX0.edm.com>
* Lev Assinovsky:
> I don't know why, but this->
> doesn't work. Base::xxx does work.
It works for me in the example you posted:
std::cerr << "m_value = " << this->m_value << '\n';
--
Current mail filters: many dial-up/DSL/cable modem hosts, and the
following domains: bigpond.com, di-ve.com, fuorissimo.com, hotmail.com,
jumpy.it, libero.it, netscape.net, postino.it, simplesnet.pt, spymac.com,
tiscali.co.uk, tiscali.cz, tiscali.it, voila.fr, yahoo.com.