MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / equal

Function equal

annotation/psimpl.h:191–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 */
190 template <unsigned DIM, class InputIterator>
191 inline bool equal (
192 InputIterator p1,
193 InputIterator p2)
194 {
195 for (unsigned d = 0; d < DIM; ++d) {
196 if (*p1 != *p2) {
197 return false;
198 }
199 ++p1;
200 ++p2;
201 }
202 return true;
203 }
204
205 /*!
206 \brief Creates a vector from two points.

Callers 1

operator==Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected