Google OR-Tools: operations_research::LazyMutableCopy< T > Class Template Reference

template<class T>
class operations_research::LazyMutableCopy< T >

Definition at line 44 of file lazy_mutable_copy.h.

#include <lazy_mutable_copy.h>

Public Member Functions

 LazyMutableCopy (const T &obj)
 LazyMutableCopy (T &&obj)
 LazyMutableCopy (LazyMutableCopy &&)=default
 LazyMutableCopy (const LazyMutableCopy &)=delete
class LazyMutableCopy< T > & operator= (LazyMutableCopy< T > &&)=default
class LazyMutableCopy< T > & operator= (const LazyMutableCopy< T > &)=delete
T * get_mutable ()
std::unique_ptr< T > copy_or_move_as_unique_ptr () &&
bool has_ownership () const
const T * get () const
const T & operator* () const
const T * operator-> () const
void dispose () &&

◆ LazyMutableCopy() [2/4]

◆ LazyMutableCopy() [3/4]

◆ LazyMutableCopy() [4/4]

◆ copy_or_move_as_unique_ptr()

◆ dispose()

◆ get()

◆ get_mutable()

◆ has_ownership()

◆ operator*()

◆ operator->()

◆ operator=() [1/2]

◆ operator=() [2/2]


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