A raw representation of an Arc pointer, used for low-level interop.
More...
|
|
auto | as_ptr () const |
| | Returns a mutable pointer to the managed value.
|
| |
| auto | into_raw () -> voidp |
| | Consumes the ArcRaw, returning a raw void pointer without releasing ownership.
|
| |
|
| static auto | from_raw (voidp p) -> ArcRaw |
| | Reconstructs an ArcRaw from a raw void pointer previously obtained via into_raw.
|
| |
template<typename T>
class alloc::sync::ArcRaw< T >
A raw representation of an Arc pointer, used for low-level interop.
- Template Parameters
-
◆ from_raw()
Reconstructs an ArcRaw from a raw void pointer previously obtained via into_raw.
- Parameters
-
- Returns
- An
ArcRaw wrapping the pointer.
◆ into_raw()
Consumes the ArcRaw, returning a raw void pointer without releasing ownership.
- Returns
- A raw void pointer to the inner allocation.
The documentation for this class was generated from the following file:
- /home/runner/work/rstd/rstd/src/alloc/sync.cppm