stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <>
Subject Re: svn commit: r466955 - /incubator/stdcxx/trunk/tests/src/printf.cpp
Date Tue, 07 Nov 2006 16:16:07 GMT
Farid Zaripov wrote:
>>-----Original Message-----
>>From: Martin Sebor [] 
>>Sent: Monday, November 06, 2006 10:59 PM
>>Subject: Re: svn commit: r466955 - 
>>>  Does the "%{M}" formatting directive is intended for printing the 
>>>any pointer to member of any class or only void (Class::*)() where 
>>>Class is the simple class? Because the size of pointer to 
>>class member 
>>>can vary depending from the class I think we should pass 
>>the sizeof of 
>>>the pointer too.
>>That seems odd. How can the size of an type change like that?
>>It must be a bug. I opened the following issue with Microsoft:
>   I found that is documented feature:
>   By default the compiler assumes that all declarations of a pointers to
> a member of the class are declared after class definition (/vmb).

Thanks. I still think it's a bug, even if they document the behavior.


View raw message