On 20.11.2010, at 22:14, Jakub Wieczorek wrote:

> Hi,
> 
> I'm attaching a patch that makes it possible to access non-static data
> members in a static context in unevaluated expressions (such as
> sizeof), e.g.:
> 
> struct a { int b; };
> char c[sizeof(a::b)];
> 
> This isn't permitted in C++03 but the rule has been relaxed in C++0x [1].

Looks good. Do you have commit access?

Sebastian
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to