MCPcopy Create free account
hub / github.com/catboost/catboost / operator==

Method operator==

util/generic/array_ref.h:93–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92 template <class TT, typename = std::enable_if_t<std::is_same<std::remove_const_t<T>, std::remove_const_t<TT>>::value>>
93 bool operator==(const TArrayRef<TT>& other) const {
94 return (S_ == other.size()) && std::equal(begin(), end(), other.begin());
95 }
96
97 constexpr inline T* data() const noexcept {
98 return T_;

Callers

nothing calls this directly

Calls 5

beginFunction · 0.70
endFunction · 0.70
equalFunction · 0.50
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected