gem5 v24.0.0.0
Loading...
Searching...
No Matches
refcnt.hh File Reference

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.
 

Detailed Description

Classes for managing reference counted objects.

Definition in file refcnt.hh.


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0