> -----Original Message----- > From: Arkadiy Vertleyb [mailto:vertleyb@;hotmail.com] > After these changes, one can define a column like this: > // regular > class c1 : public column_name<column<c1, int> > {}; > > // calculated > class Fn { > template<class Tuple> int operator()(const Tuple& tuple) { > ... > } > }; > class c2 : public column_name<calculated_column<c2, int, Fn> {};
> > Fields can be accessed like this: > > tuple[c1()] = 5; > int n = tuple[c2()]; All looks very nice/expected syntax and behaviour. I downloaded the lib, read the docs and much of the code. I haven't tried to use it yet, though I have a very real use for it coming up soon - hopefully around review time assuming the submision goes ahead, which I certainly hope it does. Regards Darryl Green. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost