Skip to main content

osom_lib_arrays/
std.rs

1//! Holds aliases for the standard arrays.
2
3use osom_lib_alloc::std_allocator::StdAllocator;
4
5use crate::{dynamic_array::DynamicArray, inline_array::InlineArray};
6
7/// The alias for [`DynamicArray`] with [`StdAllocator`].
8pub type StdDynamicArray<T> = DynamicArray<T, StdAllocator>;
9
10/// The alias for [`InlineArray`] with [`StdAllocator`].
11pub type StdInlineArray<const TCAPACITY: usize, T> = InlineArray<TCAPACITY, T, StdAllocator>;