Skip to content
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

Move semantics for StringHashMap #589



Copy link

@rsKliPPy rsKliPPy commented Feb 22, 2017

StringHashMap<T> couldn't previously contain non-copyable objects, like ke::AutoPtr<T> in my case.
This PR fixes that and adds new bool retrieve(const char *, T **) for retrieving a reference to an object within the container in case it's not copyable.

@rsKliPPy rsKliPPy force-pushed the stringhashmap-move-semantics branch 2 times, most recently from c72f198 to 379501b Feb 22, 2017
@rsKliPPy rsKliPPy force-pushed the stringhashmap-move-semantics branch from 379501b to 377d56c Feb 22, 2017
@KyleSanderson KyleSanderson merged commit a81b52a into alliedmodders:master Jul 12, 2018
0 of 2 checks passed
Copy link

@KyleSanderson KyleSanderson commented Jul 12, 2018

apologies for the delay and thank you.

@rsKliPPy rsKliPPy deleted the stringhashmap-move-semantics branch Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants