Enable C++11 features if possible to prefer standard smart pointers