Skip to content

Remove hx/Unordered.h - #1401

Merged
Aidan63 merged 1 commit into
HaxeFoundation:masterfrom
tobil4sk:fix/unordered-map-set
Sep 18, 2026
Merged

Aidan63 merged 1 commit into
HaxeFoundation:masterfrom
tobil4sk:fix/unordered-map-set

Conversation

@tobil4sk

Copy link
Copy Markdown
Member

This was originally added because unordered_map/set were only available in c++11, so this would fall back to the ordered variants if they were unavailable.

However, it would only use the unordered variants on msvc or if the preprocessor define HXCPP_CPP11 is set, which has only ever been the case on the android gcc toolchain:
86ca6eb

Now C++11 has been a requirement for building the hxcpp runtime for a while, so we can just assume they are available instead of having these wrappers.

This was originally added because unordered_map/set were only available
in c++11, so this would fall back to the ordered variants if they were
unavailable.

However, it would only use the unordered variants on msvc or if
the preprocessor define HXCPP_CPP11 is set, which has only ever been
the case on the android gcc toolchain:
86ca6eb

Now C++11 has been a requirement for building the hxcpp runtime for a
while, so we can just assume they are available instead of having these
wrappers.
@Aidan63
Aidan63 merged commit 06d571e into HaxeFoundation:master Sep 18, 2026
145 checks passed
@tobil4sk
tobil4sk deleted the fix/unordered-map-set branch September 18, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants