From 9bb66d9c1d8a7bf5bf02f5a7c400894e928d2a95 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 18 Feb 2015 22:37:39 +0100 Subject: Changed `ListIndex` to return false if no index is found * analogously to `list-index` and `find` in SRFI-1 --- src/list/operation/higher/drop_while.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/list/operation/higher/drop_while.h') diff --git a/src/list/operation/higher/drop_while.h b/src/list/operation/higher/drop_while.h index 1207020..8d013f9 100644 --- a/src/list/operation/higher/drop_while.h +++ b/src/list/operation/higher/drop_while.h @@ -13,7 +13,7 @@ template < > using DropWhile = Drop< typename utility::predicate_assurance< - utility::predicate_negator::template function, + IsSize, Length >::template assure< ListIndex< -- cgit v1.2.3