In file included from /usr/include/c++/4.8/unordered_map:35:0,
from prog.cpp:4:
/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
^
prog.cpp:16:2: error: ‘unordered_map’ does not name a type
unordered_map<string, unique_ptr<instance>> m_instances;
^
prog.cpp: In member function ‘instance& manager::get_instance(std::string)’:
prog.cpp:32:6: error: ‘m_instances’ was not declared in this scope
if (m_instances.find(name) == m_instances.end())
^
prog.cpp:33:23: error: ‘make_unique’ was not declared in this scope
m_instances[name] = make_unique<instance>(name, *this);
^
prog.cpp:33:43: error: expected primary-expression before ‘>’ token
m_instances[name] = make_unique<instance>(name, *this);
^
prog.cpp:33:52: warning: left operand of comma operator has no effect [-Wunused-value]
m_instances[name] = make_unique<instance>(name, *this);
^
prog.cpp:34:10: error: ‘m_instances’ was not declared in this scope
return *m_instances[name].get();
^
prog.cpp:35:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^