1 #ifndef FWCore_Utilities_value_ptr_h
2 #define FWCore_Utilities_value_ptr_h
95 myP(orig.
myP) { orig.myP=
nullptr; }
125 template <
typename U>
130 template <
typename U>
162 return myP !=
nullptr ?
172 template <
typename U>
195 template <
typename T>
205 template <
typename T,
typename U>
211 template <
typename T,
typename U>
217 template <
typename T,
typename U>
223 template <
typename T,
typename U>
231 #endif // FWCoreUtilities_value_ptr_h
value_ptr(value_ptr &&orig)
static T * clone(T const *p)
void swap(value_ptr &orig)
T const & operator*() const
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &)
void swap(Association< C > &lhs, Association< C > &rhs)
edm::propagate_const< T * > myP
static T * createFrom(U const *p)
value_ptr & operator=(value_ptr< U > const &orig)
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
value_ptr(value_ptr< U > const &orig)
void this_type_does_not_support_comparisons() const
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &)
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
element_type const * get() const
value_ptr & operator=(value_ptr &&orig)
value_ptr & operator=(value_ptr const &orig)
value_ptr & operator=(std::unique_ptr< T > orig)
value_ptr(std::unique_ptr< T > orig)
void(value_ptr::* bool_type)() const
value_ptr(value_ptr const &orig)
T const * operator->() const