There's an an equivalent in C++:
```c++ #include <iostream> static int foo = 1; int bar (const int &foo) { ::foo = 2; return foo; } int main () { std::cout << foo << ',' << bar(1) << std::endl; // 2,1 return 0; } ``` `::` is more reasonable for me
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss