"Grizlyk" <[EMAIL PROTECTED]> writes:
> Is it bug or no?
Yes, in your code.
Here is an error message from HP aCC, which explains it:
$ 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'.
return ( ptr && is_ok() )? 1: 0;
^^^^^
Fix:
return ( ptr && this->is_ok() )? 1: 0;
> Must i post the bug to?
Don't bother: you'll be told the same thing.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus