// test.cpp #include <tuple> int main() { auto t = std::make_tuple(1, 1.2); return 0; }
icpc -v
icpc version 15.0.3 (gcc version 5.1.0 compatibility)
OS X 10.10 - If using " icpc -std=c++11 test.cpp ", it's OK. But if using " icpc -std=c++14 test.cpp ", it prompts
error: namespace "std" has no member "make_tuple"
auto t = std::make_tuple(1, 1.2);
I tested this code on a linux machine, and both cases passed. So what could cause this problem on OS X?