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

@@ -45,8 +45,8 @@ namespace BlackMisc
/*!
* \brief Base class for CCollection and CSequence adding mutating operations and CValueObject facility on top of CRangeBase.
*/
template <template <class> class C, class T>
class CContainerBase : public CValueObject, public CRangeBase<C<T>, T>
template <template <class> class C, class T, class CIt>
class CContainerBase : public CValueObject, public CRangeBase<C<T>, CIt>
{
public:
/*!