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

Method operator<=

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

Source from the content-addressed store, hash-verified

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; }
142bool basic_string::operator<=(const basic_string& other) const { return fl::strcmp(c_str(), other.c_str()) <= 0; }
143bool basic_string::operator>=(const basic_string& other) const { return fl::strcmp(c_str(), other.c_str()) >= 0; }
144
145bool basic_string::operator==(const char* other) const { return fl::strcmp(c_str(), other ? other : "") == 0; }

Callers

nothing calls this directly

Calls 2

strcmpFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected