omni::compiletime::strcmp
Defined in omni/compiletime/CompileTime.h
- 
constexpr int omni::compiletime::strcmp(const char *a, const char *b)
- Compile time std::strcmp(). - Return 0 if equal, not 0 otherwise. - Parameters
- a – [in] The first string to compare. This must either be a string literal or another - constexprsymbol that can be evaluated at compile time. This may not be- nullptr.
- b – [in] The second string to compare. This must either be a string literal or another - constexprsymbol that can be evaluated at compile time. This may not be- nullptr.
 
- Returns
- 0if the two strings match exactly. Returns a negative value if the string- ashould be ordered before- balphanumerically. Returns a positive value if the string- ashould be ordered after- balphanumerically.