------- 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 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.
Thank you Carlini for your quick reply, I just read the c++ standard and 
confirmed this is not a bug.
It just confused me when some other one who are using M$ vc telling me 
this way works.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45254

Reply via email to