Add missing copy constructor and assignment operators

This commit is contained in:
Roland Winklmeier
2018-08-07 14:41:40 +02:00
committed by Klaus Basan
parent 3774f2b60f
commit a36023f6d8
3 changed files with 19 additions and 6 deletions

View File

@@ -34,6 +34,7 @@ namespace BlackMisc
//! @{
explicit OutputIterator(const F &func) : m_func(func) {}
explicit OutputIterator(F &&func) : m_func(std::move(func)) {}
OutputIterator(const OutputIterator &other) : m_func(other.m_func) {}
//! @}
//! Advance the iterator (no-op)