aşağıdaki programı ele alalım ctor kopyalayın: #include<iostream>
using namespace std;
struct S
{
S() = default;
S(const S& other) = delete;
S(S&& other) = delete;
int i;
};
Ben GCC 7 bulundu garantili kopya elision uygulamıştır ve ben wandbox aşağıdaki kodu çalıştı: #include <iostream>
struct NonMovable
{
NonMovable() noexcept = default;
NonMovable(NonMovabl