#include <iostream>
#include <string>
using namespace std;
class Y
{
public:
Y(const std::string& str) : str_{str} {}; // C2797 error
private:
std::string str_;
};
int main() {
std::string str;
Y y{str};
// your code goes here
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY2xhc3MgWQp7CnB1YmxpYzoKICAgIFkoY29uc3Qgc3RkOjpzdHJpbmcmIHN0cikgOiBzdHJfe3N0cn0ge307ICAvLyBDMjc5NyBlcnJvcgoKcHJpdmF0ZToKICAgIHN0ZDo6c3RyaW5nIHN0cl87Cn07CgppbnQgbWFpbigpIHsKCXN0ZDo6c3RyaW5nIHN0cjsKCVkgeXtzdHJ9OwoJLy8geW91ciBjb2RlIGdvZXMgaGVyZQoJcmV0dXJuIDA7Cn0=