#include <iostream> using namespace std; void f(int i) { cout << "foo" << i << endl; } template<typename... T> struct Foo { template<void(*fp)(T...)> static void bar(T... t) { fp(t...); } }; int main() { Foo<int>::bar<f>(3); return 0; }
Sorry, that doesn't help.
Changing Open Project Properties->C/C++ Build ->Settings->Tool Settings->GCC C++ Compiler->Miscellaneous->Other Flags to -std=c++0x doesn't affect anything.
I couldn't find a "compiler invocation arguments" field in "Project Properties->C/C++ Build ->discovery Options"
Any ideas?
Thanks,
Mike
There was a change in the discovery configuration jor the Juno release. You have to go to Project Properties->C/C++ General_>Preprocessor Include...
What am I missing?
Quote:What am I missing?
The forum search function?
http://www.eclipse.org/forums/index.php/t/373462/
Btw: This setting is hidden...
regards,
klaus
Thanks, Klaus. Should I submit a bug? I didn't see it any of the codan bugs (maybe I missed something, though)