c81cb64416
It uses the (`const T &&... p_args`) forward reference, to avoid copying the memory in case it's an rvalue, or pass a reference in case it's an lvalue. This is an example: ```c++ PagedAllocator<btShapeBox> box_allocator; btShapeBox* box = box_allocator.alloc( btVector3(1.0, 1.0, 1.0) ); ``` |
||
---|---|---|
.. | ||
SCsub | ||
bin_sorted_array.h | ||
command_queue_mt.cpp | ||
command_queue_mt.h | ||
cowdata.h | ||
hash_map.h | ||
hashfuncs.h | ||
list.h | ||
local_vector.h | ||
lru.h | ||
map.h | ||
oa_hash_map.h | ||
ordered_hash_map.h | ||
paged_allocator.h | ||
paged_array.h | ||
pair.h | ||
pass_func.h | ||
pooled_list.h | ||
rid.h | ||
rid_owner.cpp | ||
rid_owner.h | ||
ring_buffer.h | ||
safe_refcount.h | ||
self_list.h | ||
set.h | ||
simple_type.h | ||
sort_array.h | ||
thread_work_pool.cpp | ||
thread_work_pool.h | ||
vector.h | ||
vmap.h | ||
vset.h |