struct Data
{
Data() = default;
Data(const Data& other)
{
std::cout << "copy ctr" << std::endl;
}
Data(Data&& other)
{
std::cout << "move ctr" << std::endl;
}
};
int main(int argc, char** argv)
{
std::vector<Data> vector;
for (size_t i = 0u; i < 100u; ++i) {
vector.push_back(Data{});
}
return EXIT_SUCCESS;
}