MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / hashset_to_array

Function hashset_to_array

utility/common.h:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87template <class T>
88Array hashset_to_array(const HashSet<T> &hs) {
89 Array ret;
90 for (const T &E : hs) {
91 ret.push_back(E);
92 }
93 return ret;
94}
95
96template <class T>
97bool vectors_intersect(const Vector<T> &a, const Vector<T> &b) {

Callers 2

_loadMethod · 0.85

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected