
4 Nov
2010
4 Nov
'10
1:43 p.m.
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.