I simplified it a bit with the hope it would work, but unfortunately I keep getting the same error : 'forward' is not a member of 'std'. I am using g++ 4.7 through CMake, on a Debian system. The 'utility' file does exist, and contains references to std::forward. Any guess about what's wrong?
What threw me off, is that when I add variadic arguments, I get the following warning: Singleton.hpp:18:21: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default] and assumed c++11 was enabled.
It now turns into an error if I explicitely add -std=c++11 and completely disappears with the combo -std=c++11 -pedantic-errors. Thanks !