
4 Nov
2010
4 Nov
'10
3:18 p.m.
On 11/4/2010 9:43 AM, Noman wrote:
How is your INC function any different than pre-increment? If it's no different, you could just do this:
proto::make_exprproto::tag::pre_inc const INC = {};
Its the same. But I want to know the mechanism to add any new function working on the vectors. That can be INC or can be anything else. The question is how can I add any function without adding something to the class vector.
This is all described in the docs: http://www.boost.org/doc/libs/1_44_0/doc/html/proto/users_guide.html#boost_p... -- Eric Niebler BoostPro Computing http://www.boostpro.com