STIR  6.2.0
Namespaces | Macros
shared_ptr.h File Reference

Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding boost versions if STIR_USE_BOOST_SHARED_PTR is set, i.e. normally when std::shared_ptr doesn't exist) into the stir namespace. More...

#include "stir/common.h"
#include <memory>

Go to the source code of this file.

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 

Macros

#define MAKE_SHARED   std::make_shared
 work-around for using std::make_shared on old compilers
 

Detailed Description

Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding boost versions if STIR_USE_BOOST_SHARED_PTR is set, i.e. normally when std::shared_ptr doesn't exist) into the stir namespace.