|
| GlobRef ()=delete |
| Reference semantics forbid declaration without definition. More...
|
|
| GlobRef (const GlobRef &other)=delete |
|
constexpr | GlobRef (dart_gptr_t dart_gptr) noexcept |
| Constructor, creates an GlobRef object referencing an element in global memory. More...
|
|
template<typename _T , long = internal::enable_implicit_copy_ctor<value_type, _T>::value> |
constexpr | GlobRef (const GlobRef< _T > &gref) noexcept |
| Copy constructor, implicit if at least one of the following conditions is satisfied: 1) value_type and _T are exactly the same types (including const and volatile qualifiers 2) value_type and _T are the same types after removing const and volatile qualifiers and value_type itself is const. More...
|
|
template<typename _T , int = internal::enable_explicit_copy_ctor<value_type, _T>::value> |
constexpr | GlobRef (const GlobRef< _T > &gref) noexcept |
| Copy constructor, explicit if the following conditions are satisfied. More...
|
|
template<typename _T , long = internal::enable_implicit_copy_ctor<value_type, _T>::value> |
constexpr | GlobRef (const GlobAsyncRef< _T > &gref) noexcept |
| Constructor to convert GlobAsyncRef to GlobRef. More...
|
|
template<typename _T , int = internal::enable_explicit_copy_ctor<value_type, _T>::value> |
constexpr | GlobRef (const GlobAsyncRef< _T > &gref) noexcept |
|
| GlobRef (self_t &&other) noexcept |
| Move Constructor. More...
|
|
const self_t & | operator= (const self_t &other) const |
| Copy Assignment. More...
|
|
self_t & | operator= (self_t &&other) noexcept |
| Move Assignment: Redirects to Copy Assignment. More...
|
|
const self_t & | operator= (const value_type &val) const |
| Value-assignment operator. More...
|
|
| operator nonconst_value_type () const |
|
template<typename ValueT > |
bool | operator== (const GlobRef< ValueT > &other) const |
|
template<typename ValueT > |
bool | operator!= (const GlobRef< ValueT > &other) const |
|
template<typename ValueT > |
constexpr bool | operator== (const ValueT &value) const |
|
template<typename ValueT > |
constexpr bool | operator!= (const ValueT &value) const |
|
void | set (const value_type &val) const |
|
nonconst_value_type | get () const |
|
void | get (nonconst_value_type *tptr) const |
|
void | get (nonconst_value_type &tref) const |
|
void | put (const_value_type &tref) const |
|
void | put (const_value_type *tptr) const |
|
const self_t & | operator+= (const nonconst_value_type &ref) const |
|
const self_t & | operator-= (const nonconst_value_type &ref) const |
|
const self_t & | operator++ () const |
|
nonconst_value_type | operator++ (int) const |
|
const self_t & | operator-- () const |
|
nonconst_value_type | operator-- (int) const |
|
const self_t & | operator*= (const_value_type &ref) const |
|
const self_t & | operator/= (const_value_type &ref) const |
|
const self_t & | operator^= (const_value_type &ref) const |
|
constexpr dart_gptr_t | dart_gptr () const noexcept |
|
bool | is_local () const |
| Checks whether the globally referenced element is in the calling unit's local memory. More...
|
|
template<typename MEMTYPE > |
GlobRef< typename internal::add_const_from_type< T, MEMTYPE >::type > | member (size_t offs) const |
| Get a global ref to a member of a certain type at the specified offset. More...
|
|
template<class MEMTYPE , class P = T> |
GlobRef< typename internal::add_const_from_type< T, MEMTYPE >::type > | member (const MEMTYPE P::*mem) const |
| Get the member via pointer to member. More...
|
|
void | swap (dash::GlobRef< T > &b) const |
| specialization which swappes the values of two global references More...
|
|
template<typename T>
class dash::GlobRef< T >
- Examples:
- ex.03.globref/main.cpp, and ex.06.std-algo/main.cpp.
Definition at line 18 of file GlobAtomicAsyncRef.h.