Zdenek Dvorak wrote:
> umm... OK. Could you please provide an example (that could perhaps also
> be added to documentation) of how TARGET_EXPRs are used, that would
> explain the rationale behind this semantics?
The canonical example is:
struct S {
S();
S(const S&);
};
S f();
vo
Hello,
> > what exactly is the semantics of the cleanup for TARGET_EXPR?
> > Documentation says:
> >
> >
> >>Often, a @code{TARGET_EXPR} occurs on the right-hand side of an
> >>assignment, or as the second operand to a comma-expression which is
> >>itself the right-hand side of an assignment, et
Zdenek Dvorak wrote:
> Hello,
>
> what exactly is the semantics of the cleanup for TARGET_EXPR?
> Documentation says:
>
>
>>Often, a @code{TARGET_EXPR} occurs on the right-hand side of an
>>assignment, or as the second operand to a comma-expression which is
>>itself the right-hand side of an ass
Hello,
what exactly is the semantics of the cleanup for TARGET_EXPR?
Documentation says:
> Often, a @code{TARGET_EXPR} occurs on the right-hand side of an
> assignment, or as the second operand to a comma-expression which is
> itself the right-hand side of an assignment, etc. In this case, we sa