|
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
comp.std.c++[.moderated].
Thanks,
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk