Does the C++ standard library have these C++11 features?
My simple program:
#include <iostream> std::error_code code; int main() { std::cout << "Hello"<< std::endl; }
fails to compile with the following error:
error: namespace "std" has no member "error_code"
This is the compile command I'm using:
icpc -std=c++11 -o test test.cpp
TCE Open Date:
Monday, January 13, 2020 - 09:11