LibreOffice Module o3tl (master)  1
Public Member Functions | Public Attributes | List of all members
o3tl::cow_wrapper< T, MTPolicy >::impl_t Struct Reference

shared value object - gets cloned before cow_wrapper hands out a non-const reference to it More...

Collaboration diagram for o3tl::cow_wrapper< T, MTPolicy >::impl_t:
[legend]

Public Member Functions

 impl_t (const impl_t &)=delete
 
impl_toperator= (const impl_t &)=delete
 
 impl_t ()
 
 impl_t (const T &v)
 
 impl_t (T &&v)
 

Public Attributes

m_value
 
MTPolicy::ref_count_t m_ref_count
 

Detailed Description

template<typename T, class MTPolicy = UnsafeRefCountingPolicy>
struct o3tl::cow_wrapper< T, MTPolicy >::impl_t

shared value object - gets cloned before cow_wrapper hands out a non-const reference to it

Definition at line 180 of file cow_wrapper.hxx.

Constructor & Destructor Documentation

template<typename T, class MTPolicy = UnsafeRefCountingPolicy>
o3tl::cow_wrapper< T, MTPolicy >::impl_t::impl_t ( const impl_t )
delete
template<typename T, class MTPolicy = UnsafeRefCountingPolicy>
o3tl::cow_wrapper< T, MTPolicy >::impl_t::impl_t ( )
inline
template<typename T, class MTPolicy = UnsafeRefCountingPolicy>
o3tl::cow_wrapper< T, MTPolicy >::impl_t::impl_t ( const T &  v)
inlineexplicit

Definition at line 191 of file cow_wrapper.hxx.

template<typename T, class MTPolicy = UnsafeRefCountingPolicy>
o3tl::cow_wrapper< T, MTPolicy >::impl_t::impl_t ( T &&  v)
inlineexplicit

Definition at line 197 of file cow_wrapper.hxx.

References v.

Member Function Documentation

template<typename T, class MTPolicy = UnsafeRefCountingPolicy>
impl_t& o3tl::cow_wrapper< T, MTPolicy >::impl_t::operator= ( const impl_t )
delete

Member Data Documentation

template<typename T, class MTPolicy = UnsafeRefCountingPolicy>
MTPolicy::ref_count_t o3tl::cow_wrapper< T, MTPolicy >::impl_t::m_ref_count
template<typename T, class MTPolicy = UnsafeRefCountingPolicy>
T o3tl::cow_wrapper< T, MTPolicy >::impl_t::m_value

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