gem5 v24.0.0.0
|
Classes for managing reference counted objects. More...
#include <type_traits>
Go to the source code of this file.
Classes | |
class | gem5::RefCounted |
Derive from RefCounted if you want to enable reference counting of this class. More... | |
class | gem5::RefCountingPtr< T > |
If you want a reference counting pointer to a mutable object, create it like this: More... | |
Namespaces | |
namespace | gem5 |
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved. | |
Functions | |
template<class T > | |
bool | gem5::operator== (const RefCountingPtr< T > &l, const RefCountingPtr< T > &r) |
Check for equality of two reference counting pointers. | |
template<class T > | |
bool | gem5::operator== (const RefCountingPtr< T > &l, const T *r) |
Check for equality of of a reference counting pointers and a regular pointer. | |
template<class T > | |
bool | gem5::operator== (const T *l, const RefCountingPtr< T > &r) |
Check for equality of of a reference counting pointers and a regular pointer. | |
template<class T > | |
bool | gem5::operator!= (const RefCountingPtr< T > &l, const RefCountingPtr< T > &r) |
Check for inequality of two reference counting pointers. | |
template<class T > | |
bool | gem5::operator!= (const RefCountingPtr< T > &l, const T *r) |
Check for inequality of of a reference counting pointers and a regular pointer. | |
template<class T > | |
bool | gem5::operator!= (const T *l, const RefCountingPtr< T > &r) |
Check for inequality of of a reference counting pointers and a regular pointer. | |
Classes for managing reference counted objects.
Definition in file refcnt.hh.