| 1487 | |
| 1488 | private: |
| 1489 | virtual void deepCopy(const AbstractRegistry<T_Ptr, std::map<T_Key, T_Ptr*>>& sr) ELPP_FINAL { |
| 1490 | for (const_iterator it = sr.cbegin(); it != sr.cend(); ++it) { |
| 1491 | registerNew(it->first, new T_Ptr(*it->second)); |
| 1492 | } |
| 1493 | } |
| 1494 | }; |
| 1495 | |
| 1496 | /// @brief A pointer registry mechanism to manage memory and provide search functionalities. (predicate version) |