下面这段代码会使VC2010、VC2012编译器崩溃,原因目前未知:
#include <memory>
template<typename T>
class safe: public ::std::shared_ptr<T>
{
public:
using ::std::shared_ptr::shared_ptr;
};
下面这段代码会使VC2010、VC2012编译器崩溃,原因目前未知:
#include <memory>
template<typename T>
class safe: public ::std::shared_ptr<T>
{
public:
using ::std::shared_ptr::shared_ptr;
};