This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] [PR12573] fix ICE with offsetof as template argument (regression)


> > (There's also a meta-question: is "offsetof (...)" type-dependent?  
> 
> No.  But it can be value-dependent, just like sizeof.

I agree -- but right now the standard doesn't say either of those things.

I asked Steve Adamczyk to open a core issue about that.

-- Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]