Open GoogleCodeExporter opened 9 years ago
The interface of such functionality could look like:
vector filter(const vector&, const set<size_t>& columns) - returns the updated
vector; parameter remains untouched.
vector& filter(vector&, const set<size_t>& columns, IN_PLACE) - in place action.
vector& is returned.
In order to specify the complementary, the ! operator can be overloaded, thus
calling:
filter(v, !columns);
Original comment by danielgutson@gmail.com
on 1 Jun 2009 at 5:48
Library created (previously known as 'find-utils').
Original comment by danielgutson@gmail.com
on 6 Jun 2009 at 10:38
Original issue reported on code.google.com by
danielgutson@gmail.com
on 1 Jun 2009 at 5:39