34class ARCANE_CORE_EXPORT ServiceInstanceRef
38 ServiceInstanceRef(
const RefType& r) : m_instance(r){}
40 ServiceInstanceRef() =
default;
44 return ServiceInstanceRef(RefType::create(p));
48 return ServiceInstanceRef(RefType::_createNoDestroy(p));
52 return ServiceInstanceRef(RefType::createWithHandle(p,handle));
56 void reset() { m_instance.reset(); }