31 ms·
A well-configured C++ compiler will error-out on such a silent conversion.
by inetknght 2y ago
A well-configured C++ compiler will error-out on such a silent conversion.
- kccqzy 2y agoThe C++ compiler is required to perform this silent conversion according to the standard: https://en.cppreference.com/w/cpp/language/implicit_conversion#Integral_promotion https://en.cppreference.com/w/cpp/language/implicit_conversi...