void DateSet::permute(const Permutation& p) { if (p.size() != size()) throw Exception_SizesDoNotMatch(); p.permute(data_.data()); }
void StringSet::permute(const Permutation& p) { if (size() != p.size()) throw Exception("Permutation and data are not of the same size"); p.permute(data_); }