pub fn alloc_stdlib<T>(size: usize) -> *mut T where
    T: Default + Copy + Clone