diff options
Diffstat (limited to 'src/list/operation/higher/find.h')
-rw-r--r-- | src/list/operation/higher/find.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/list/operation/higher/find.h b/src/list/operation/higher/find.h index bf9d04f..abc3199 100644 --- a/src/list/operation/higher/find.h +++ b/src/list/operation/higher/find.h @@ -11,11 +11,11 @@ template < typename Current > struct Find { - typedef typename If< - Predicate<Head<Current>>::type::value, + typedef Eval<If< + Eval<Predicate<Head<Current>>>, Head<Current>, - typename Find<Predicate, Tail<Current>>::type - >::type type; + Eval<Find<Predicate, Tail<Current>>> + >> type; }; template < |