Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2008-05-11 14:13:07


Author: eric_niebler
Date: 2008-05-11 14:13:07 EDT (Sun, 11 May 2008)
New Revision: 45288
URL: http://svn.boost.org/trac/boost/changeset/45288

Log:
add a TODO item
Text files modified:
   branches/proto/v4/boost/proto/expr.hpp | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: branches/proto/v4/boost/proto/expr.hpp
==============================================================================
--- branches/proto/v4/boost/proto/expr.hpp (original)
+++ branches/proto/v4/boost/proto/expr.hpp 2008-05-11 14:13:07 EDT (Sun, 11 May 2008)
@@ -99,6 +99,14 @@
         #include BOOST_PP_ITERATE()
         }
 
+ // TODO consider adding a basic_expr<> that doesn't have operator=,
+ // operator[] or operator() for use by BOOST_PROTO_BASIC_EXTENDS().
+ // Those member functions are unused in that case, and only slow
+ // down instantiations. basic_expr::proto_base_expr can still be
+ // expr<> because uses of proto_base_expr in proto::matches<> shouldn't
+ // case the expr<> type to be instantiated. (<-- Check that assumtion!)
+ // OR, should expr<>::proto_base_expr be a typedef for basic_expr<>?
+
         BOOST_PROTO_BEGIN_ADL_NAMESPACE(exprns_)
         #define BOOST_PP_ITERATION_PARAMS_1 (3, (0, BOOST_PROTO_MAX_ARITY, <boost/proto/expr.hpp>))
         #include BOOST_PP_ITERATE()


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk