[cfe-commits] [PATCH][MS] - type_info forward class declaration

Francois Pichet pichet2000 at gmail.com
Mon Aug 30 00:30:07 PDT 2010


ping?

On Fri, Aug 27, 2010 at 6:54 AM, Francois Pichet <pichet2000 at gmail.com> wrote:
> On Thu, Aug 26, 2010 at 10:28 AM, Douglas Gregor <dgregor at apple.com> wrote:
>> This test case is clearly broken:
>
> Sorry for the broken test case.
> Here is an updated patch.
>
>> Does Visual C++ also implicitly declare namespace "std" or "std::type_info"? That's the kind of thing
>> you'll also want to check.
>
> I checked and Visual C++ really predeclares type_info at the global scope level.
> In <type_info> it then does something like that:
>
> class type_info {
>    //..
> };
>
> namespace std {
>    using ::type_info;
> }
>




More information about the cfe-commits mailing list