S
syntheticpp
Hello,
there is a bug in the compiler of Visual C++ 2005/14.00.50727.42
(also 13.10.3077).
This code compiles but must not compile:
#include <string>
namespace n {
using namespace std;
template<class T>
struct s{};
}
void f() {
string str;
}
When commenting out 'template<class T>'
it behaves correct.
Best regards
Peter
there is a bug in the compiler of Visual C++ 2005/14.00.50727.42
(also 13.10.3077).
This code compiles but must not compile:
#include <string>
namespace n {
using namespace std;
template<class T>
struct s{};
}
void f() {
string str;
}
When commenting out 'template<class T>'
it behaves correct.
Best regards
Peter