13#ifndef RooFit_Config_h
14#define RooFit_Config_h
32#ifdef ROOFIT_MEMORY_SAFE_INTERFACES
42#ifdef ROOFIT_MEMORY_SAFE_INTERFACES
43 return std::move(ptr);
50template <
typename T,
typename U>
53#ifdef ROOFIT_MEMORY_SAFE_INTERFACES
54 return std::unique_ptr<T>{
static_cast<T *
>(ptr.release())};
56 return static_cast<T *
>(ptr.release());
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
OwningPtr< T > makeOwningPtr(std::unique_ptr< T > &&ptr)
Internal helper to turn a std::unique_ptr<T> into an OwningPtr.
T * OwningPtr
An alias for raw pointers for indicating that the return type of a RooFit function is an owning point...