Eric Wong
Results
3
issues of
Eric Wong
/// swaps the contents void swap(fifo_map& other) { std::swap(m_map, other.m_map); std::swap(m_compare, other.m_compare); std::swap(m_keys, other.m_keys); } m_compare‘s member m_key point to m_map's m_key
如下图添加测试代码。  程序启动后默认的位置不对(正常应该显示在屏幕的中间) 