diff --git a/include/boost/phoenix/function/lazy_prelude.hpp b/include/boost/phoenix/function/lazy_prelude.hpp index 1094ea3..15f7cb4 100644 --- a/include/boost/phoenix/function/lazy_prelude.hpp +++ b/include/boost/phoenix/function/lazy_prelude.hpp @@ -234,32 +234,6 @@ namespace boost { }; - // This will apply f() at least once. - struct Apply0 { - - template - struct result; - - template - struct result - { - // Need result type from F - typedef typename F::result_type type; - }; - - template - typename result::type operator()(N n, const F &f, - reuser2 r = NIL ) const { - if ( n <= 1 ) - return f()(); - else { - A0 a1 = r( Apply(), n-1, f)(); - return f()(); - } - } - - }; - struct Odd { template struct result; @@ -295,12 +269,10 @@ namespace boost { } typedef boost::phoenix::function Pow; typedef boost::phoenix::function Apply; - typedef boost::phoenix::function Apply0; typedef boost::phoenix::function Odd; - typedef boost::phoenix::function Even; + typedef boost::phoenix::function Even; Pow pow; Apply apply; - Apply0 apply0; Odd odd; Even even;