diff options
Changed `ListIndex` to return false if no index is found
* analogously to `list-index` and `find` in SRFI-1
Diffstat (limited to 'src/list/operation/higher/take_while.h')
-rw-r--r-- | src/list/operation/higher/take_while.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list/operation/higher/take_while.h b/src/list/operation/higher/take_while.h index f9fc3aa..105e83c 100644 --- a/src/list/operation/higher/take_while.h +++ b/src/list/operation/higher/take_while.h @@ -13,7 +13,7 @@ template < > using TakeWhile = Take< typename utility::predicate_assurance< - utility::predicate_negator<std::is_void>::template function, + IsSize, Length<List> >::template assure< ListIndex< |