
19 Oct
2009
19 Oct
'09
2:06 p.m.
Christian Schladetsch wrote:
Sure, but this is basic C++. Before the ctor to grammar(...) is invoked, the arguments to it have been evaluated. This requires construction of its arguments.
That is not true. The base class constructor is called _before_ any members are constructed. Try it yourself.