LibreOffice Module o3tl (master) 1
Classes | Namespaces | Functions
cow_wrapper.hxx File Reference
#include <osl/interlck.h>
#include <optional>
#include <cstddef>
Include dependency graph for cow_wrapper.hxx:

Go to the source code of this file.

Classes

struct  o3tl::UnsafeRefCountingPolicy
 Thread-unsafe refcounting. More...
 
struct  o3tl::ThreadSafeRefCountingPolicy
 Thread-safe refcounting. More...
 
class  o3tl::cow_wrapper< T, MTPolicy >
 
struct  o3tl::cow_wrapper< T, MTPolicy >::impl_t
 shared value object - gets cloned before cow_wrapper hands out a non-const reference to it More...
 

Namespaces

namespace  o3tl
 

Functions

template<class T , class P >
bool o3tl::operator== (const cow_wrapper< T, P > &a, const cow_wrapper< T, P > &b)
 
template<class T , class P >
bool o3tl::operator!= (const cow_wrapper< T, P > &a, const cow_wrapper< T, P > &b)
 
template<class A , class B , class P >
bool o3tl::operator< (const cow_wrapper< A, P > &a, const cow_wrapper< B, P > &b)
 
template<class T , class P >
void o3tl::swap (cow_wrapper< T, P > &a, cow_wrapper< T, P > &b)