Segfault in simple use of codecvt<>

Kristian Spangsege kristian.spangsege@gmail.com
Sat Jan 12 15:59:00 GMT 2008


Yes - I see my error - sorry for the fuzz about nothing.

On 1/12/08, Bo Persson <bop@gmb.dk> wrote:
> >
> > As far as I know, a temporary is supposed to stay "alive" until the
> > end of the scope.
> >
>
> No. Unless it is bound to a const reference, the temporary is
> destroyed at the end of the statement, not at the end of the scope.
>
>
> Bo Persson
>



More information about the Libstdc++ mailing list