MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / difference

Method difference

source/core/StarSet.hpp:264–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262
263template <typename Value, typename Compare, typename Allocator>
264Set<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
270template <typename Value, typename Compare, typename Allocator>
271Set<Value, Compare, Allocator> Set<Value, Compare, Allocator>::difference(Set const& s, std::function<bool(Value const&, Value const&)> compare) const {

Callers 7

updateMethod · 0.45
handleIncomingPacketsMethod · 0.45
erroredClientsMethod · 0.45
exportTilesetMethod · 0.45
exportTilesetsMethod · 0.45
TESTFunction · 0.45

Calls 6

beginFunction · 0.85
endFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
containsMethod · 0.45
addMethod · 0.45

Tested by 1

TESTFunction · 0.36