Chromium Embedded Framework (CEF)  128.4.2+g5c235a2+chromium-128.0.6613.18
cef_scoped_refptr.h File Reference
#include <stddef.h>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "include/base/cef_logging.h"

Classes

class  scoped_refptr< T >
 A smart pointer class for reference counted objects. More...
 

Namespaces

 base
 

Functions

template<typename T >
scoped_refptr< T > base::AdoptRef (T *t)
 
template<typename T , typename... Args>
scoped_refptr< T > base::MakeRefCounted (Args &&... args)
 
template<typename T >
scoped_refptr< T > base::WrapRefCounted (T *t)
 
template<typename T , typename U >
bool operator== (const scoped_refptr< T > &lhs, const U *rhs)
 
template<typename T , typename U >
bool operator== (const T *lhs, const scoped_refptr< U > &rhs)
 
template<typename T >
bool operator== (const scoped_refptr< T > &lhs, std::nullptr_t null)
 
template<typename T >
bool operator== (std::nullptr_t null, const scoped_refptr< T > &rhs)
 
template<typename T , typename U >
bool operator!= (const scoped_refptr< T > &lhs, const U *rhs)
 
template<typename T , typename U >
bool operator!= (const T *lhs, const scoped_refptr< U > &rhs)
 
template<typename T >
bool operator!= (const scoped_refptr< T > &lhs, std::nullptr_t null)
 
template<typename T >
bool operator!= (std::nullptr_t null, const scoped_refptr< T > &rhs)
 
template<typename T >
std::ostream & operator<< (std::ostream &out, const scoped_refptr< T > &p)
 
template<typename T >
void swap (scoped_refptr< T > &lhs, scoped_refptr< T > &rhs) noexcept
 

Function Documentation

◆ operator!=() [1/4]

template<typename T , typename U >
bool operator!= ( const scoped_refptr< T > &  lhs,
const U *  rhs 
)

◆ operator!=() [2/4]

template<typename T >
bool operator!= ( const scoped_refptr< T > &  lhs,
std::nullptr_t  null 
)

◆ operator!=() [3/4]

template<typename T , typename U >
bool operator!= ( const T *  lhs,
const scoped_refptr< U > &  rhs 
)

◆ operator!=() [4/4]

template<typename T >
bool operator!= ( std::nullptr_t  null,
const scoped_refptr< T > &  rhs 
)

◆ operator<<()

template<typename T >
std::ostream& operator<< ( std::ostream &  out,
const scoped_refptr< T > &  p 
)

◆ operator==() [1/4]

template<typename T , typename U >
bool operator== ( const scoped_refptr< T > &  lhs,
const U *  rhs 
)

◆ operator==() [2/4]

template<typename T >
bool operator== ( const scoped_refptr< T > &  lhs,
std::nullptr_t  null 
)

◆ operator==() [3/4]

template<typename T , typename U >
bool operator== ( const T *  lhs,
const scoped_refptr< U > &  rhs 
)

◆ operator==() [4/4]

template<typename T >
bool operator== ( std::nullptr_t  null,
const scoped_refptr< T > &  rhs 
)

◆ swap()

template<typename T >
void swap ( scoped_refptr< T > &  lhs,
scoped_refptr< T > &  rhs 
)
noexcept