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

Douglas Gregor dgregor at apple.com
Mon Aug 30 07:45:23 PDT 2010


On Aug 27, 2010, at 3:54 AM, Francois Pichet 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;
> }

Okay. Committed as r112478, thanks!

	- Doug





More information about the cfe-commits mailing list