[cfe-commits] r43277 - /cfe/trunk/include/clang/Basic/IdentifierTable.h

Ted Kremenek kremenek at apple.com
Tue Oct 23 21:51:29 PDT 2007

On Oct 23, 2007, at 5:15 PM, Hartmut Kaiser wrote:

> Ted,
>>> +  friend struct llvm::SerializeTrait<IdentifierTable>;
>> Cute.  I'll be sure to use "struct" in the future instead of "class"
>> in friend declarations.
> It's not that you need to use structs in friend declarations. The  
> problem
> was, that you were using 'struct' and 'class' inconsistently for
> llvm::SerializeTrait.
> Regards Hartmut

Ahh.  I see.  Do you know if this consistency is required by the  
standard?  i.e., is gcc being too loose, or VC++ too strict?

More information about the cfe-commits mailing list