追記:n2927の提案により、lambda expressionは、sizeof, alignof, decltypeのオペランドに使えなくなっています。理由は、実装が極端に難しくなるからとのこと。従って、以下の内容はobsolateであり、正しいC++0xではありません。(コンパイル時のユニークなIDとしての型は、需要があると思うのに、残念) 5.1.1 p2 The evaluation of a lambda-expression results in an rvalue temporary (_class.temporary_ 12.2). This temporary is called the closure object. A lambda-expression shall not appear in an unevaluated operand (_expr_ Clause