SHARE
TWEET

Untitled

a guest Oct 21st, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. unordered_set<pair<Date,string>> m_events;
  2.     void DeleteDate(const Date& date) {
  3.         for(auto it = m_events.begin(); it != m_events.end();it++) {
  4.             if (it->first == date) {
  5.                 m_events.erase(it);
  6.             }
  7.         }
  8.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top