編譯器會正確地 Disambiguates 複雜的運算式或型別
下列範例適用於 Visual C++。NET 2003 中所指定的標準:
// compiler_correctly_disambiguates_complex_expressions_or_types.cpp
// Many different variations, this is a simple one
#include <typeinfo>
typedef void functype();
int main()
{
return !(typeid(functype) == typeid(void()));
//now these match correctly
}