How is the three-way comparison operator different from subtraction? – stackoverflow.com 06:09 Posted by Unknown No Comments There's a new comparison operator <=> in C++20. However I think in most cases a simple substraction works well: int my_strcmp(const char *a, const char *b) { while (*a == *b && *a ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "How is the three-way comparison operator different from subtraction? – stackoverflow.com"
Post a Comment