1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-07 19:53:17 +00:00
Files
godot/core
Hein-Pieter van Braam 3ef7ecf546 Don't allocate in Vector's ctor
By relying on the fact that a struct or class's first member has the
same address as the struct itself we can cast VectorWriteProxy<T> to
Vector<T> and access the CowData field.

This allows a Vector to be moved in memory without invalidating the
pointer to the cowdata field.
2018-12-14 20:07:35 +00:00
..
2018-10-26 17:25:57 +02:00
2018-10-26 17:25:57 +02:00
2018-10-19 11:45:24 +02:00
2018-11-30 18:01:00 +01:00
2018-10-04 18:16:04 +02:00
2018-11-12 21:49:50 +01:00
2018-07-24 12:13:05 +02:00
2018-06-25 16:22:41 -03:00
2018-12-14 20:07:35 +00:00