[Bug c++/45254] data declaration parse error

2010-08-11 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-08-11 10:03 --- This is plain invalid: you are constructing a temporary ofstream and then hoping to pass it to a constructor taking a ref, not a const ref, cannot work. -- paolo dot carlini at oracle dot com changed:

[Bug c++/45254] data declaration parse error

2010-08-11 Thread wanng dot fenng at gmail dot com
--- Comment #2 from wanng dot fenng at gmail dot com 2010-08-11 12:49 --- Subject: Re: data declaration parse error On 08/11/2010 06:03 PM, paolo dot carlini at oracle dot com wrote: --- Comment #1 from paolo dot carlini at oracle dot com 2010-08-11 10:03 --- This is