20 #ifndef __stir_is_null_ptr_H__ 21 #define __stir_is_null_ptr_H__ 36 is_null_ptr(T
const*
const ptr)
38 #ifdef BOOST_NO_CXX11_NULLPTR 41 return ptr ==
nullptr;
47 is_null_ptr(shared_ptr<T>
const& sptr)
49 return is_null_ptr(sptr.get());
54 is_null_ptr(unique_ptr<T>
const& aptr)
56 return is_null_ptr(aptr.get());
59 #ifndef BOOST_NO_CXX11_NULLPTR 61 is_null_ptr(
const std::nullptr_t)
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
Import of std::unique_ptr into the stir namespace, together with work-arounds for other compilers...