_storage

func _storage<Element>(capacity: Int) 'alloc -> Storage<Element>

Allocates typed storage with room for capacity elements.

View Source
pub func _storage<Element>(capacity: Int) 'alloc -> Storage<Element> {
	Storage<Element>(base: _alloc<Element>(count: capacity))
}