sandbox
Loading...
Searching...
No Matches
sbx::signals::copy_on_write< Type > Class Template Reference

Public Types

using value_type = Type
 

Public Member Functions

template<typename Other >
requires (!std::is_same_v<std::decay_t<Other>, copy_on_write>)
 copy_on_write (Other &&other)
 
 copy_on_write (const copy_on_write &other) noexcept
 
 copy_on_write (copy_on_write &&other) noexcept
 
auto operator= (const copy_on_write &other) noexcept -> copy_on_write &
 
auto operator= (copy_on_write &&other) noexcept -> copy_on_write &
 
auto read () const noexcept -> const value_type &
 
auto write () -> value_type &
 

Friends

template<typename Other >
auto swap (copy_on_write< Other > &lhs, copy_on_write< Other > &rhs) noexcept -> void
 

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