#1) This is not a cygwin issue, so it's off-topic here.
#2) This is not even really a gcc issue, it's a C++ issue.
#3) The problem is that you are trying to use static_cast too much. It
should only be used for built-in types (int, float, various pointers).
The older gcc seemed to allow incorr
Hi,
I am not shure that this is a error , but it is very strange...
//autoPtr.cpp
#include
#include
using namespace std;
class B {
public:
B(int cid) : cid_(cid) { cout << "B(" << cid_ << ")\n"; }
~B() { cout << "~B(" << cid_ << ")\n"; }
private:
int cid_;
};
class A {
publi
2 matches
Mail list logo