37class ARCANE_CORE_EXPORT ServiceInstanceRef
41 ServiceInstanceRef(
const RefType& r) : m_instance(r){}
43 ServiceInstanceRef() =
default;
47 return ServiceInstanceRef(RefType::create(p));
51 return ServiceInstanceRef(RefType::_createNoDestroy(p));
55 return ServiceInstanceRef(RefType::createWithHandle(p,handle));
59 void reset() { m_instance.reset(); }