|
Proto : |
Subject: Re: [proto] Funky exercie: subset of Boost::parameters using proto
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-08-16 16:54:50
Got some error trying to compile this vs boost :: trunk
joel_at_dell-desktop:~/Desktop$ time g++-4.3 -O3 -c options.cpp -I./
-I/usr/local/include/boost-trunk
options.cpp: In member function typename
boost::option_expr<Expr>::result<const boost::option_expr<Expr>
()(Option, Default)>::type boost::option_expr<Expr>::operator()(const
Option&, const Default&) const:
options.cpp:103: error: wrong number of template arguments (3, should be 2)
/usr/local/include/boost-trunk/boost/proto/proto_fwd.hpp:435: error:
provided for template<class Expr, class Grammar> struct
boost::proto::matches
/usr/local/include/boost-trunk/boost/mpl/assert.hpp: At global scope:
/usr/local/include/boost-trunk/boost/mpl/assert.hpp: In instantiation of
mpl_::assert_arg_pred_not<int>:
options.cpp:103: instantiated from here
/usr/local/include/boost-trunk/boost/mpl/assert.hpp:148: error: int is
not a class, struct, or union type
/usr/local/include/boost-trunk/boost/mpl/assert.hpp:149: error: int is
not a class, struct, or union type
Proto list run by eric at boostpro.com