Chromium Embedded Framework (CEF)  145.0.1+g472e75d+chromium-145.0.7632.5
cef_scoped_refptr.h File Reference
#include <stddef.h>
#include <compare>
#include <concepts>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "include/base/cef_compiler_specific.h"
#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 >
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<<()

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

◆ swap()

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