prog.cpp:9:9: error: 'function' in namespace 'std' does not name a type
prog.cpp: In function 'int main()':
prog.cpp:13:5: error: 'vector' is not a member of 'std'
prog.cpp:13:17: error: 'DoubleFunc' was not declared in this scope
prog.cpp:13:29: error: 'funcVector' was not declared in this scope
prog.cpp:20:5: error: 'for_each' is not a member of 'std'
prog.cpp:21:6: error: 'DoubleFunc' is not a type
prog.cpp: In lambda function:
prog.cpp:23:9: error: 'cout' is not a member of 'std'
prog.cpp:23:42: error: 'func' cannot be used as a function
prog.cpp:23:47: error: 'endl' is not a member of 'std'
prog.cpp: In function 'int main()':
prog.cpp:26:19: error: 'system' was not declared in this scope