Код: Выделить всё
#include
int main() {
size_t n = 0;
while (n< 100'000'000) {
n++;
}
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78533257/will-the-compiler-know-to-skip-this-loop[/url]Код: Выделить всё
#include
int main() {
size_t n = 0;
while (n< 100'000'000) {
n++;
}
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78533257/will-the-compiler-know-to-skip-this-loop[/url]