Scope of a variable initialized in the parameter list of a function (C++) – stackoverflow.com

I've built, compiled and run the following code (C++, mingw) without any problems, but I'm unsure if it may be a ticking bomb: struct S { S() : a(0), b(0) {} S(int a, int b) : a(a), b(b) {} int ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Scope of a variable initialized in the parameter list of a function (C++) – stackoverflow.com"