
23 Feb
2009
23 Feb
'09
7:58 p.m.
Hicham Mouline wrote:
Hi, continuing to work through the user guide boost_1_38_0/doc/html/proto/users_guide.html, I reached the section Retaining POD-ness with BOOST_PROTO_EXTENDS() <snip>
// Define a calculator domain. Expression within // the calculator domain will be wrapped in the // calculator<> expression wrapper. struct calculator_domain : proto::domain< proto::generator<calculator> > ---------------------------^^^^^^^^^^
Should be proto::pod_generator<calculator>. Once you finish reading the section, you'll know why. :-) -- Eric Niebler BoostPro Computing http://www.boostpro.com