godot/core/templates
AndreaCatania 98ceb60eb4 Refactors the memnew_placement.
With this commit the macro `memnew_placement` uses the standard memory
placement syntax: `new (mem) TheClass()`, and removes the outdated and
not used syntax:
```
_ALWAYS_INLINE_ void *operator new(size_t p_size, void *p_pointer, size_t check, const char *p_description) {
```

Thanks to this change, the function `memnew_placement` call is compatible with
any class, and can also initialize classes with non-empty constructor:
```
// This is valid, like before.
memnew_placement(mem, Variant);

// This works too:
memnew_placement(mem, Variant(123));
```
2021-08-13 10:18:34 +02:00
..
bin_sorted_array.h Implement visibility range and dependencies. 2021-06-14 12:17:11 +02:00
command_queue_mt.cpp Refactor CommandQueueMT 2021-06-09 13:10:49 -03:00
command_queue_mt.h Fix various typos with codespell 2021-07-25 11:21:51 +02:00
cowdata.h Refactors the memnew_placement. 2021-08-13 10:18:34 +02:00
hash_map.h Style: Cleanup uses of double spaces between words 2021-06-07 11:03:08 +02:00
hashfuncs.h Use the standard C INFINITY and NAN constants directly 2021-07-21 10:41:08 +02:00
list.h Fix equality operators in List's ConstIterator 2021-07-15 10:47:20 +02:00
local_vector.h LocalVector: Don't error if from >= count 2021-07-01 12:16:33 +02:00
lru.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
map.h Implement Range Iterators 2021-07-08 23:27:27 -03:00
oa_hash_map.h Style: Cleanup uses of double spaces between words 2021-06-07 11:03:08 +02:00
ordered_hash_map.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
paged_allocator.h Replace QuickHull with Bullet's convex hull computer. 2021-05-22 22:35:42 +02:00
paged_array.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
pair.h Merge pull request #47395 from sygi/shape_idx_collision 2021-07-16 19:05:08 +02:00
pass_func.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
pooled_list.h Dynamic BVH broadphase in 2D & 3D Godot Physics 2021-05-10 16:28:55 -07:00
rid_owner.cpp Modernize atomics 2021-02-18 17:12:46 +01:00
rid_owner.h Fix various typos with codespell 2021-07-25 11:21:51 +02:00
rid.h Rewrite render code to be more cache and thread friendly. 2021-01-05 08:50:18 -03:00
ring_buffer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
safe_refcount.h Add type_traits include for std::is_trivially_destructible 2021-04-22 16:23:55 +02:00
SCsub Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
self_list.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
set.h Fix Set range iterator implementation 2021-07-27 02:48:28 +02:00
simple_type.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
sort_array.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
thread_work_pool.cpp Modernize Thread 2021-01-29 12:02:13 +01:00
thread_work_pool.h Consider a thread done if current_work is null 2021-06-17 05:22:43 -07:00
vector.h Implement Range Iterators 2021-07-08 23:27:27 -03:00
vmap.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
vset.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00