[cfe-dev] [libcxx] Why the type of (w)cin/(w)cout/(w)cout are char []?

Eric Fiselier via cfe-dev cfe-dev at lists.llvm.org
Mon May 16 19:16:59 PDT 2016


> Dropping the list.

Or not.

On Mon, May 16, 2016 at 8:15 PM, Eric Fiselier <eric at efcs.ca> wrote:

>
>
> On Mon, May 16, 2016 at 8:13 PM, Howard Hinnant <howard.hinnant at gmail.com>
> wrote:
>
>> On May 16, 2016, at 9:58 PM, Eric Fiselier <eric at efcs.ca> wrote:
>> >
>> >
>> >
>> > On Mon, May 16, 2016 at 4:15 PM, Howard Hinnant via cfe-dev <
>> cfe-dev at lists.llvm.org> wrote:
>> >> It has been a long time since I wrote this code, but at the time I was
>> able to convince myself that the libc++ initialization of global statics
>> would happen prior other statics programmed by the customer.  At that time,
>> libc++ was being written just for OS X.
>> >>
>> >
>> > I don't think this holds any longer, including on OS X.
>>
>> Interesting.
>>
>
> Dropping the list. I probably should have been clearer. I haven't tested
> it yet, but I had static initialization order issues on OS X while writing
> the global PMRs. I just assumed the same issue may transfer to the
> std::stream case.
> It's very possible I'm wrong and ignorant.
>
> /Eric
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160516/83641bcb/attachment.html>


More information about the cfe-dev mailing list