#include <memory>
struct Something
{
int x;
long y;
};
int main()
{
std::unique_ptr<Something> k = std::make_unique<Something>(0, 1);
return 0;
}
This program compiles with g++ --std=c20. Why?
I could not deduce from this list which change supports this.
Compilation fails with g++ --std=c2a for obvious reasons.