Detect C++11 features automatically
Merge pull request #151 from TsudaKageyu/shared_ptr

Detect C++11 features automatically
Update comments in trefcountptr.h