Replace RefCounter with std::shared_ptr if possible
Stop determining whether to enable C++11 features at compile time
Merge pull request #105 from TsudaKageyu/shared_ptr

Replace RefCounter with std::shared_ptr if possible