<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Dec 24, 2010, at 12:16 AM, Francois Pichet wrote:</div><blockquote type="cite"><div>Here is my plan on how to implement the __uuidof operator.</div><div>doc: <a href="http://msdn.microsoft.com/en-us/library/zaah6a61(v=VS.90).aspx">http://msdn.microsoft.com/en-us/library/zaah6a61(v=VS.90).aspx</a></div>
<div><br></div><div><br></div><div>For each class with an uuid attribute, clang would insert an implicit declaration of type: VarDecl.</div></blockquote><div><br></div>Ugh.  I think the vast majority of AST clients would need to be updated to know about these special variable declarations.</div><div><br></div><div>If all you're worried about is how to represent __uuidof as a template argument, I think we should just keep it as a __uuidof expression, if we can make that work.  Doug?</div><div><br></div><div>John.</div></body></html>