1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00
Files
godot/core/templates
AndreaCatania c81cb64416 Add the possibility to initialize the classes allocated with the PagedAllocator
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) );
```
2021-08-14 09:04:31 +02:00
..
2021-06-09 13:10:49 -03:00
2021-08-13 10:18:34 +02:00
2021-01-01 20:19:21 +01:00
2021-07-08 23:27:27 -03:00
2021-02-18 17:12:46 +01:00
2021-07-25 11:21:51 +02:00
2021-07-27 02:48:28 +02:00
2021-01-29 12:02:13 +01:00
2021-07-08 23:27:27 -03:00
2021-01-01 20:19:21 +01:00
2021-01-01 20:19:21 +01:00