From cb100798eb75c6c3deddefdfa08c51955d261045 Mon Sep 17 00:00:00 2001 From: John Fletcher Date: Sun, 1 Mar 2015 16:36:27 +0000 Subject: [PATCH] function/lazy_prelude.hpp delete incomplete enum_from --- .../boost/phoenix/function/lazy_prelude.hpp | 52 +------------------ 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/include/boost/phoenix/function/lazy_prelude.hpp b/include/boost/phoenix/function/lazy_prelude.hpp index c550cf4..0e350fb 100644 --- a/include/boost/phoenix/function/lazy_prelude.hpp +++ b/include/boost/phoenix/function/lazy_prelude.hpp @@ -377,55 +377,7 @@ namespace boost { return l; } }; - /* - template - struct EFH //: public Fun0Impl< odd_list > - { - - mutable T x; - EFH( const T& xx ) : x(xx) {} - template struct result; - - template - struct result - { - typedef typename boost::remove_reference TT; - typedef list type; - }; - typename result::type operator()() const { - ++x; - //typename fcpp::Function0::type fun0(*this); - return cons( x-1, EFH() ); - } - }; - */ - - struct Enum_from { - // template - // struct sig : fun_type > {}; - template struct result; - - template - struct result : boost::remove_reference - { - //typedef typename boost::remove_reference::type TT; - //typedef odd_list type; - }; - - template - //typename result::type operator()(T const& x ) const - odd_list operator()( T const & x ) const - { - //typedef typename boost::remove_cv::type TT; - //typename fcpp::Function0::type fun0(*new EFH(x)); - //return EFH(x);//make_fun0_odd_list(*new EFH(x) ); - //typename result::type l; - odd_list l;// = cons(x,NIL); - l = cons(x,l); - return l; - } - }; - + } @@ -439,14 +391,12 @@ namespace boost { typedef boost::phoenix::function Init; typedef boost::phoenix::function Take; typedef boost::phoenix::function Drop; - typedef boost::phoenix::function Enum_from; Until until; Until2 until2; Last last; Init all_but_last; // renamed from init which is not available. Take take; Drop drop; - Enum_from enum_from; namespace fcpp {