Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
immer::detail::gc_atom_impl< T, MemoryPolicy > Struct Template Reference
#include <atom.hpp>
Public Types | |
using | box_type = box< T, MemoryPolicy > |
using | value_type = T |
using | memory_policy = MemoryPolicy |
Public Member Functions | |
gc_atom_impl (const gc_atom_impl &)=delete | |
gc_atom_impl (gc_atom_impl &&)=delete | |
gc_atom_impl & | operator= (const gc_atom_impl &)=delete |
gc_atom_impl & | operator= (gc_atom_impl &&)=delete |
gc_atom_impl (box_type b) | |
box_type | load () const |
void | store (box_type b) |
box_type | exchange (box_type b) |
template<typename Fn > | |
box_type | update (Fn &&fn) |
Private Attributes | |
std::atomic< typename box_type::holder * > | impl_ |
Detailed Description
template<typename T, typename MemoryPolicy>
struct immer::detail::gc_atom_impl< T, MemoryPolicy >
Member Typedef Documentation
◆ box_type
template<typename T , typename MemoryPolicy >
using immer::detail::gc_atom_impl< T, MemoryPolicy >::box_type = box<T, MemoryPolicy> |
◆ memory_policy
template<typename T , typename MemoryPolicy >
using immer::detail::gc_atom_impl< T, MemoryPolicy >::memory_policy = MemoryPolicy |
◆ value_type
template<typename T , typename MemoryPolicy >
using immer::detail::gc_atom_impl< T, MemoryPolicy >::value_type = T |
Constructor & Destructor Documentation
◆ gc_atom_impl() [1/3]
template<typename T , typename MemoryPolicy >
|
delete |
◆ gc_atom_impl() [2/3]
template<typename T , typename MemoryPolicy >
|
delete |
◆ gc_atom_impl() [3/3]
template<typename T , typename MemoryPolicy >
|
inline |
Definition at line 98 of file atom.hpp.
References immer::box< T, MemoryPolicy >::impl_.
Member Function Documentation
◆ exchange()
template<typename T , typename MemoryPolicy >
|
inline |
Definition at line 108 of file atom.hpp.
References immer::box< T, MemoryPolicy >::impl_, and immer::detail::gc_atom_impl< T, MemoryPolicy >::impl_.
◆ load()
template<typename T , typename MemoryPolicy >
|
inline |
Definition at line 102 of file atom.hpp.
References immer::detail::gc_atom_impl< T, MemoryPolicy >::impl_.
◆ operator=() [1/2]
template<typename T , typename MemoryPolicy >
|
delete |
◆ operator=() [2/2]
template<typename T , typename MemoryPolicy >
|
delete |
◆ store()
template<typename T , typename MemoryPolicy >
|
inline |
Definition at line 105 of file atom.hpp.
References immer::box< T, MemoryPolicy >::impl_, and immer::detail::gc_atom_impl< T, MemoryPolicy >::impl_.
◆ update()
template<typename T , typename MemoryPolicy >
template<typename Fn >
|
inline |
Definition at line 112 of file atom.hpp.
References immer::detail::gc_atom_impl< T, MemoryPolicy >::impl_.
Member Data Documentation
◆ impl_
template<typename T , typename MemoryPolicy >
|
private |
The documentation for this struct was generated from the following file:
- src/immer/atom.hpp