help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: passing temporary storage as a non-const parameter to a function


From: Andre Poenitz
Subject: Re: passing temporary storage as a non-const parameter to a function
Date: Sat, 13 Nov 2004 19:41:27 +0100

Ulrich Eckhardt <doomster@knuut.de> wrote:
> Nothing to do with g++, just normal C++. Other than the solutions already
> proposed, you can also const_cast the problem away.

Are you sure this results in legal code? 

Andre'


reply via email to

[Prev in Thread] Current Thread [Next in Thread]