osom_lib_arc 0.1.21

ABI-stable atomic reference counted pointers for osom_lib.
Documentation
1
2
3
4
5
6
7
8
9
10
//! This module defines the std aliases.
use osom_lib_alloc::std_allocator::StdAllocator;

use super::{carc::CArc, weak::CWeak};

/// The alias for [`CArc`] with [`StdAllocator`].
pub type StdCArc<T> = CArc<T, StdAllocator>;

/// The alias for [`CWeak`] with [`StdAllocator`].
pub type StdCWeak<T> = CWeak<T, StdAllocator>;