Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-01-04 09:58:40

Tomas Rapkauskas <slidertom_at_[hidden]> writes:

> Hello,
> I just extended this test case
> with struct derived2 and made function call() as virtual.
> Question: should function test output "2"?
> if no: how to get this(2) result?
> I don't think that developer should make a call using "this->" in the
> struct derived.

Isn this really just a C++ question, not related to Boost or library
development? If so, please take it to an appropriate forum like


Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at