help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: template<> keyword unexpecting hide virtual members


From: Grizlyk
Subject: Re: template<> keyword unexpecting hide virtual members
Date: 26 Dec 2006 18:14:00 -0800
User-agent: G2/1.0

Paul Pluzhnikov wrote:

> $ aCC -c junk.cpp
> Error (future) 641: "junk.cpp", line 15 # Undeclared variable 'is_ok'.
> A variable with the same name exists in a template base class,
> but is not visible according to the Standard lookup rules
> (See [temp.dep], 14.6.2(3) in the C++ Standard).
> You can make it visible by writing 'this->is_ok'.

It is pity, i have no "[temp.dep], 14.6.2(3) in the C++ Standard".
So can you explain me the reason of the hiding?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]