-Wlong-long gcc警告の理由は何ですか? gccのmanページから: -Wlong-long
Warn if long long type is used. This is enabled by either -Wpedantic or -Wtraditional in ISO C90 and C++98 modes. To inhibit the warning mess
私はこれを知っている:あなたはB::~B()のラインの定義のうちを持っていない限り、未定義の動作の抵触 #include <memory>
class A;
class B
{
public:
B(A* a) : a_(a) {}
private:
std::auto_ptr<A> a_;
};
ランを。 そして、ある時点で、gccはこれを言