12#ifndef ARCANE_UTILS_SCOPEDPTR_H
13#define ARCANE_UTILS_SCOPEDPTR_H
17#include "arcane/utils/Ptr.h"
80 if (this->
m_value != new_value) {
T * m_value
Pointer to the referenced object.
PtrT< T > & operator=(const PtrT< T > &from)
Copy operator.
PtrT(const PtrT< T > &from)
Constructs a reference referring to from.
const ScopedPtrT< T > & operator=(const ScopedPtrT< T > &from)
Copy operator.
ScopedPtrT()
Constructs an instance without a reference.
~ScopedPtrT()
Destroys the referenced object.
const ScopedPtrT< T > & operator=(T *new_value)
Assigns the value new_value to the instance.
PtrT< T > BaseClass
Base class type.
ScopedPtrT(T *t)
Constructs an instance referencing t.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --