Is gcc or clang correct about this behavior? – stackoverflow.com

I have a little toy program: static int value = 0; int function(int &value=value) { return value; } int main() { function(); } Compiling with g++ 7.2: g++ -std=c++11 -Wall -Wextra ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Is gcc or clang correct about this behavior? – stackoverflow.com"