3 ms·
Amusing/disgusting, depending on your perspective: For laughs, this means that the following is valid C++0x: C:\Temp>type nokitty.cpp int main() { []
by neilc 18y ago
Amusing/disgusting, depending on your perspective:
For laughs, this means that the following is valid C++0x:
C:\Temp>type nokitty.cpp
int main() {
[](){}();
[]{}();
}
Unfortunately, it seems that GCC 4.4 doesn't support lambdas yet:
http://gcc.gnu.org/gcc-4.4/cxx0x_status.html http://gcc.gnu.org/gcc-4.4/cxx0x_status.html