MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / operator==

Method operator==

support/DeepCopy.h:128–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 }
127
128 bool operator==(const deep_unique_ptr<Base> &rhs) const
129 {
130 if (rhs.get() == nullptr && _val == nullptr)
131 {
132 return true;
133 }
134 else if (rhs.get() == nullptr || _val == nullptr)
135 {
136 return false;
137 }
138 else
139 {
140 return (*_val == *rhs);
141 }
142 }
143
144private:
145 deep_unique_ptr clone() const

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected