search for: 59fa498e

Displaying 1 result from an estimated 1 matches for "59fa498e".

2015 Aug 31
2
StringSet copy constructor
I'm trying to make a string set that has a flag to become the universal set, and figured StringSet might be a good starting point struct Selection : StringSet<> { bool all; Selection(const Selection &selection) : StringSet<>(selection), all(selection.all) {} Selection(bool all) : all(all) {} size_t count(const string &s) const { if (all) return