[cfe-dev] libc++ does not throw an exception where libstdc++ does
Shriramana Sharma
samjnaa at gmail.com
Sat Jun 29 12:02:56 PDT 2013
On Sun, Jun 30, 2013 at 12:31 AM, Shriramana Sharma <samjnaa at gmail.com> wrote:
>
> Thanks for your reply -- so I guess if it doesn't get implicitly
> defaulted to false, then the exception may not be thrown, but this
> does not explain why the cout<< behaviour I outline above happens.
... and I thought whether such scalar values are given some default
values are not will be decided by the compiler implementation and not
by the standard library that is being used. What if I did not use the
standard library at all? Wouldn't the default init behaviour be same
since I'm using the same compiler?
--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
More information about the cfe-dev
mailing list