转换从size_t到unsigned int是否可能导致溢出?
size_t x = foo ( ) ; // foo ( ) returns a value in type size_t
unsigned int ux = (unsigned int ) x ;
ux == x // Is result of that line always 1 ?
语言:C++
平台:任何