refs #290 using a CRange of iterator adaptors to return from the primary predicate-based methods of CRangeBase without copying elements

This commit is contained in:
Mathew Sutcliffe
2014-07-03 20:06:13 +01:00
parent bd02c74ea8
commit 101c5a4f98
5 changed files with 65 additions and 26 deletions

View File

@@ -42,7 +42,7 @@ namespace BlackMisc
* Can take any suitable container class as its implementation at runtime.
*/
template <class T>
class CCollection : public CContainerBase<CCollection, T>
class CCollection : public CContainerBase<CCollection, T, Iterators::ConstForwardIterator<T>>
{
public:
//! \brief STL compatibility