MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / operator=

Method operator=

Tools/BitVector.h:150–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 Access(BitVector& v, int i) : v(v), i(i) {}
149 bool get() const { return v.get_bit(i); }
150 void operator=(bool b) { v.set_bit(i, b); }
151 void operator=(const Access& other) { *this = other.get(); }
152 void operator^=(const Access& other) { *this = get() ^ other.get(); }
153 bool operator==(const Access& other) const { return get() == other.get(); }

Callers

nothing calls this directly

Calls 2

set_bitMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected