Eclipse C++ temporary