Searched refs:AtomicRef (Results 1 – 2 of 2) sorted by relevance
259 template <typename T> struct AtomicRef { struct276 LIBC_INLINE explicit constexpr AtomicRef(T &obj) : ptr(&obj) {} in AtomicRef() argument279 LIBC_INLINE constexpr AtomicRef(T *obj) : ptr(obj) {} in AtomicRef() function281 LIBC_INLINE AtomicRef(const AtomicRef &) = default;282 LIBC_INLINE AtomicRef &operator=(const AtomicRef &) = default; argument400 template <typename T> AtomicRef(T &) -> AtomicRef<T>;
274 before = cpp::AtomicRef(get_bitfield()[slot]) in allocate()295 cpp::AtomicRef(get_bitfield()[slot]) in deallocate()