Medium
Rely on guaranteed copy elision, not just RVO
Fill in the blank so makeWidget is guaranteed (as of C++17, not merely permitted) to construct the Widget directly in the caller's storage, printing only "construct" and never "copy" or "move".
main.cpp
struct Widget { Widget() { std::cout << "construct\n"; } Widget(const Widget&) { std::cout << "copy\n"; } Widget(Widget&&) { std::cout << "move\n"; }}; makeWidget() { return Widget{};}101 of 117 in C++