📅  最后修改于: 2022-03-11 14:44:56.039000             🧑  作者: Mango
#include
std::tuple foo_tuple()
{
return {1, -1}; // Error until N4387
return std::tuple{1, -1}; // Always works
return std::make_tuple(1, -1); // Always works
}