Compares two null-terminated strings at compile time.
Declared in <folly/portability/Constexpr.h>
template<typename Char>
constexpr
int
constexpr_strcmp(
Char const* s1,
Char const* s2) noexcept;
A negative, zero, or positive value if s1 orders before, equal to, or after s2.
| Name | Description |
|---|---|
| s1 | The first null-terminated string. |
| s2 | The second null-terminated string. |