I'm kindof confused over the std::tie function. Is my return code safe? Or is this a local variable error?
std::tuple<std::array<int, 2>, std::array<int, 2>> FunctionThatReturnsTuple()
{
std::array<int, 2> buff = {1, 2};
std::array<int, 2> buff2 = {1, 2};
return std::tie(buff, buff2); <---- safe?
}