Template Function iox::cxx::operator!=(const char *const, const string<Capacity>&)
Defined in File string.hpp
Function Documentation
-
template<uint64_t Capacity>
inline bool iox::cxx::operator!=(const char *const lhs, const string<Capacity> &rhs) noexcept The inequality operator for char pointer and fixed string is disabled via a static_assert, because it may lead to undefined behavior if the char array is not null-terminated. Please convert the char array to a fixed string with string(TruncateToCapacity_t, const char* const other, const uint64_t count) before compare it to a fixed string.
- Parameters:
lhs – [in] is the char pointer to the array to compare
rhs – [in] is the fixed string
- Returns:
false