Ultralight C++ API 1.3.0
Loading...
Searching...
No Matches
RefPtr.h File Reference

Go to the source code of this file.

Classes

class  ultralight::RefCounted
 Interface for all ref-counted objects that will be managed using the RefPtr<> smart pointer. More...
 
class  ultralight::RefPtr< T >
 A nullable smart pointer. More...
 

Functions

template<typename T >
RefPtr< T > ultralight::AdoptRef (T &reference)
 Helper for wrapping new objects with the RefPtr smart pointer.
 
template<class T >
void ultralight::swap (RefPtr< T > &a, RefPtr< T > &b)
 
template<typename T , typename U >
bool ultralight::operator== (const RefPtr< T > &a, const RefPtr< U > &b)
 
template<typename T , typename U >
bool ultralight::operator== (const RefPtr< T > &a, const U *b)
 
template<typename T , typename U >
bool ultralight::operator== (const T *a, const RefPtr< U > &b)
 
template<typename T , typename U >
bool ultralight::operator!= (const RefPtr< T > &a, const RefPtr< U > &b)
 
template<typename T , typename U >
bool ultralight::operator!= (const RefPtr< T > &a, const U *b)
 
template<typename T , typename U >
bool ultralight::operator!= (const T *a, const RefPtr< U > &b)
 

Namespaces

namespace  ultralight