OR-Tools  8.2
LazyMutableCopy< T >

Detailed Description

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

Definition at line 45 of file lazy_mutable_copy.h.

Public Member Functions

 LazyMutableCopy (const T &obj)
 
const T & get () const
 
T * get_mutable ()
 
bool was_copied () const
 

Constructor & Destructor Documentation

◆ LazyMutableCopy()

LazyMutableCopy ( const T &  obj)
inline

Definition at line 49 of file lazy_mutable_copy.h.

Member Function Documentation

◆ get()

const T& get ( ) const
inline

Definition at line 55 of file lazy_mutable_copy.h.

◆ get_mutable()

T* get_mutable ( )
inline

Definition at line 56 of file lazy_mutable_copy.h.

◆ was_copied()

bool was_copied ( ) const
inline

Definition at line 66 of file lazy_mutable_copy.h.


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