W
Wolfgang Jeltsch
Hello,
am I right that in
p = new SomeClass(p)
the newly constructed object is initialized and therefore the p in the
brackets is used before the assignment of the new pointer to p takes place?
Is it generally guaranteed that all side effects of an expression have taken
place before the expression's result is used as an operator argument or
function parameter?
Wolfgang
am I right that in
p = new SomeClass(p)
the newly constructed object is initialized and therefore the p in the
brackets is used before the assignment of the new pointer to p takes place?
Is it generally guaranteed that all side effects of an expression have taken
place before the expression's result is used as an operator argument or
function parameter?
Wolfgang