From 3943db6bf57123bbbb5df6e91975f39e5d948c7e Mon Sep 17 00:00:00 2001 From: John Fletcher Date: Thu, 5 Mar 2015 16:16:01 +0000 Subject: [PATCH] function/lazy_prelude.hpp Make inner result structs complete for gcc 4.2.1 --- .../boost/phoenix/function/lazy_prelude.hpp | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/include/boost/phoenix/function/lazy_prelude.hpp b/include/boost/phoenix/function/lazy_prelude.hpp index 6d27519..fc1e35a 100644 --- a/include/boost/phoenix/function/lazy_prelude.hpp +++ b/include/boost/phoenix/function/lazy_prelude.hpp @@ -469,11 +469,11 @@ namespace boost { FilterH( const P& pp, const L& ll) : p(pp), l(ll) {} template struct result; - template - struct result + template + struct result { typedef typename boost::phoenix::result_of:: - ListType::delay_result_type type; + ListType::delay_result_type type; }; typename result::type operator()() const { typedef typename result_of::ListType:: @@ -525,10 +525,10 @@ namespace boost { IterateH( const F& ff, const T& tt) : f(ff), t(tt) {} template struct result; - template - struct result + template + struct result { - typedef typename boost::remove_reference::type TT; + typedef typename boost::remove_reference::type TT; typedef typename boost::remove_const::type TTT; typedef typename UseList::template List::type LType; typedef typename result_of::ListType:: @@ -674,11 +674,11 @@ namespace boost { EFH( const T& xx) : x(xx) {} template struct result; - template - struct result + template + struct result { typedef typename boost::phoenix::UseList::template - List::type LType; + List::type LType; typedef typename boost::phoenix::result_of:: ListType::delay_result_type type; }; @@ -741,11 +741,11 @@ namespace boost { EFTH( const T& xx, const T& yy) : x(xx), y(yy) {} template struct result; - template - struct result + template + struct result { typedef typename boost::phoenix::UseList::template - List::type LType; + List::type LType; typedef typename boost::phoenix::result_of:: ListType::delay_result_type type; };