| 262 | |
| 263 | template <typename Value, typename Compare, typename Allocator> |
| 264 | Set<Value, Compare, Allocator> Set<Value, Compare, Allocator>::difference(Set const& s) const { |
| 265 | Set res; |
| 266 | std::set_difference(Base::begin(), Base::end(), s.begin(), s.end(), std::inserter(res, res.end())); |
| 267 | return res; |
| 268 | } |
| 269 | |
| 270 | template <typename Value, typename Compare, typename Allocator> |
| 271 | Set<Value, Compare, Allocator> Set<Value, Compare, Allocator>::difference(Set const& s, std::function<bool(Value const&, Value const&)> compare) const { |