C++中无符号数和有符号数的比较永远让人提心吊胆
void foo() {
int i = -1;
unsigned j = 1;
if (i > j) {
// this branch is taken
} else</
C++中无符号数和有符号数的比较永远让人提心吊胆
void foo() {
int i = -1;
unsigned j = 1;
if (i > j) {
// this branch is taken
} else</