Udostępnij za pośrednictwem


Kompilator poprawnie Disambiguates złożone wyrażenia lub typów

Poniższy przykład działa w programie Visual C++.NET 2003, jak określono w normie:

// 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
}

Zobacz też

Inne zasoby

Visual C++.NET 2003 rozszerzona zgodność kompilatora