12#ifndef ARCANE_UTILS_OBJECTIMPL_H
13#define ARCANE_UTILS_OBJECTIMPL_H
35class ARCANE_UTILS_EXPORT ObjectImpl
42 ObjectImpl(
const ObjectImpl& rhs) =
delete;
43 virtual ~ObjectImpl() {}
44 ObjectImpl& operator=(
const ObjectImpl& rhs) =
delete;
53 Int32 r = --m_ref_count;
69 std::atomic<Int32> m_ref_count;
Déclarations des types utilisés dans Arcane.
void addRef()
Incrémente le compteur de référence.
Int32 refCount() const
Retourne la valeur du compteur de référence.
void removeRef()
Décrémente le compteur de référence.
virtual void deleteMe()
Détruit cet objet.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
void arcaneNoReferenceErrorCallTerminate(const void *ptr)
Utilisation d'un objet non référencé.
std::int32_t Int32
Type entier signé sur 32 bits.