MCPcopy Create free account
hub / github.com/boostorg/compute / operator-

Method operator-

include/boost/compute/memory/svm_ptr.hpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 difference_type operator-(svm_ptr<T> other)
65 {
66 return m_ptr - other.m_ptr;
67 }
68
69private:
70 T *m_ptr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected