![]() |
GA::kit v0.3
G&A's in-house C++ application framework
|
#include <sigslot.hpp>
Public Types | |
| using | element_type = T |
Public Member Functions | |
| copy_on_write () | |
| template<typename U > | |
| copy_on_write (U &&x, std::enable_if_t<!std::is_same< std::decay_t< U >, copy_on_write >::value > *=nullptr) | |
| copy_on_write (const copy_on_write &x) noexcept | |
| copy_on_write (copy_on_write &&x) noexcept | |
| ~copy_on_write () | |
| copy_on_write & | operator= (const copy_on_write &x) noexcept |
| copy_on_write & | operator= (copy_on_write &&x) noexcept |
| element_type & | write () |
| const element_type & | read () const noexcept |
Friends | |
| void | swap (copy_on_write &x, copy_on_write &y) noexcept |
A simple copy on write container that will be used to improve slot lists access efficiency in a multithreaded context.
| using sigslot::detail::copy_on_write< T >::element_type = T |
|
inline |
|
inlineexplicit |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
friend |