Skip to content

Sync operator new with Godot upstream#2014

Merged
dsnopek merged 1 commit into
godotengine:masterfrom
Ivorforce:memory-3.0
Jul 23, 2026
Merged

Sync operator new with Godot upstream#2014
dsnopek merged 1 commit into
godotengine:masterfrom
Ivorforce:memory-3.0

Conversation

@Ivorforce

@Ivorforce Ivorforce commented Jul 4, 2026

Copy link
Copy Markdown
Member

Introduces the "class tag" system introduced upstream to select the godot operator new functions. This allows simplifying them. The placement operator new isn't needed and is scrapped in this version, in favour of the built-in one.

This is also needed to sync the templates later...

Includes #2012.

@Ivorforce
Ivorforce requested a review from a team as a code owner July 4, 2026 23:17
@Ivorforce Ivorforce added the enhancement This is an enhancement on the current functionality label Jul 4, 2026
@Ivorforce
Ivorforce force-pushed the memory-3.0 branch 2 times, most recently from 164122d to 3882425 Compare July 4, 2026 23:37
Comment thread src/core/memory.cpp Outdated
Comment thread include/godot_cpp/core/memory.hpp Outdated
@dsnopek dsnopek added this to the 10.x milestone Jul 23, 2026

@dsnopek dsnopek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good to me :-)

@dsnopek
dsnopek merged commit 87c6629 into godotengine:master Jul 23, 2026
20 checks passed
@Ivorforce
Ivorforce deleted the memory-3.0 branch July 23, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This is an enhancement on the current functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants