ipfs-chromium
Public Member Functions | List of all members
ipfs::raw_ptr< T > Class Template Reference

Just an observing (non-owning) pointer. More...

#include <library/include/vocab/raw_ptr.h>

Public Member Functions

 raw_ptr (T *p)
 
 raw_ptr (raw_ptr &&)=default
 
 raw_ptr (raw_ptr const &)=default
 
raw_ptroperator= (raw_ptr const &)=default
 
T * get ()
 
T const * get () const
 
 operator bool () const
 
T * operator-> ()
 
T const * operator-> () const
 
raw_ptroperator= (T *p)
 
T & operator* ()
 

Detailed Description

template<class T>
class ipfs::raw_ptr< T >

Just an observing (non-owning) pointer.

Constructor & Destructor Documentation

◆ raw_ptr()

template<class T >
ipfs::raw_ptr< T >::raw_ptr ( T *  p)
inline
Parameters
pPrimitive raw pointer

The documentation for this class was generated from the following file: