Let\'s assume I have a class with only one constructor:
class T { public: T(BigClass&& big) : big(std::move(big)) {} ... SomeBigClass };
Why can't you just copy the BigClass object?
BigClass
void foo(const BigClass& big) { while (...) { T t{ BigClass(big) }; ... } }
This makes a temporary BigClass that is then moved into the T
T