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

Method operator==

src/fl/stl/basic_string.cpp.hpp:138–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136// ======= COMPARISON OPERATORS =======
137
138bool basic_string::operator==(const basic_string& other) const { return fl::strcmp(c_str(), other.c_str()) == 0; }
139bool basic_string::operator!=(const basic_string& other) const { return fl::strcmp(c_str(), other.c_str()) != 0; }
140bool basic_string::operator<(const basic_string& other) const { return fl::strcmp(c_str(), other.c_str()) < 0; }
141bool basic_string::operator>(const basic_string& other) const { return fl::strcmp(c_str(), other.c_str()) > 0; }

Callers

nothing calls this directly

Calls 2

strcmpFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected