From 4d067bd072faee4e10fada7498b47c4a949e2fc7 Mon Sep 17 00:00:00 2001 From: Zach Laine Date: Tue, 22 Nov 2016 17:05:58 -0600 Subject: [PATCH] Cruft removal. --- example/lazy_vector.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/example/lazy_vector.cpp b/example/lazy_vector.cpp index 9ea5f1a..e7a04f6 100644 --- a/example/lazy_vector.cpp +++ b/example/lazy_vector.cpp @@ -88,33 +88,6 @@ int main () lazy_vector v2{{std::vector(4, 2.0)}}; lazy_vector v3{{std::vector(4, 3.0)}}; -#if 1 // TODO - // Type of the plus expression. Note the mix of boost::proto17 and user types. - lazy_vector_expr< - boost::proto17::expr_kind::plus, - boost::hana::tuple< - boost::proto17::expression< - boost::proto17::expr_kind::expr_ref, - // This is expanded into a lazy_vector_expr, because - // lazy_vector_expr::operator+() does not know whether it is a - // lazy_vector or not. - lazy_vector_expr< - boost::proto17::expr_kind::terminal, - boost::hana::tuple> - > const & - >, - boost::proto17::expression< - boost::proto17::expr_kind::expr_ref, - // This is preserved as a lazy_vector, since the rhs of - // lazy_vector_expr::operator+() just wraps whatever Expr type - // it is given. - lazy_vector & - > - > - > plus_expr = v2 + v3; - (void)plus_expr; -#endif - double d1 = (v2 + v3)[2]; std::cout << d1 << "\n";