Skip to content

Move semantics for StringHashMap#589

Merged
KyleSanderson merged 3 commits intoalliedmodders:masterfrom
rsKliPPy:stringhashmap-move-semantics
Jul 12, 2018
Merged

Move semantics for StringHashMap#589
KyleSanderson merged 3 commits intoalliedmodders:masterfrom
rsKliPPy:stringhashmap-move-semantics

Conversation

@rsKliPPy
Copy link
Contributor

@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 Compare February 22, 2017 04:10
@rsKliPPy rsKliPPy force-pushed the stringhashmap-move-semantics branch from 379501b to 377d56c Compare February 22, 2017 04:25
@KyleSanderson KyleSanderson merged commit a81b52a into alliedmodders:master Jul 12, 2018
@KyleSanderson
Copy link
Member

apologies for the delay and thank you.

@rsKliPPy rsKliPPy deleted the stringhashmap-move-semantics branch July 13, 2018 11:22
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