Skip to content

priority_queue: support storing non-copyable types in collection #567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kolomenkin
Copy link

@kolomenkin kolomenkin commented Mar 6, 2025

Previously compilation error was generated while trying to add non-copyable item into eastl::priority_queue collection.

Side effects: existing code may become faster (even if it was compiled well before this fix). This is expected because complicated values likes eastl::string will start moving instead of copying.

@kolomenkin kolomenkin force-pushed the fix_priority_queue branch from 5f9ad08 to 0a008bd Compare March 6, 2025 20:03
Previously compilation error was generated while trying
to add non-copyable item into collection.
@kolomenkin kolomenkin force-pushed the fix_priority_queue branch from 0a008bd to 5ff0822 Compare March 6, 2025 20:05
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.

1 participant