Raised This Month: $433 Target: $400

How to copy ke::HashMap?

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Old 06-30-2017 , 06:12   How to copy ke::HashMap?
Reply With Quote #1

Since ke::HashMap has an implicitly deleted copy constructor and copy assignment operator, do I have to iterate over the map to copy it, or is there an easier way? And if the map is a member of another object, I guess I would have to write a copy constructor / assignment operator for that object and copy the map there?
DJ Tsunami is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 18:28.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode