prog.cpp:5:7: error: no viable conversion from 'unsigned int' to 'Yoba'
Yoba a = f;
^ ~
prog.cpp:1:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'unsigned int' to 'const Yoba &' for 1st argument
struct Yoba{};
^
prog.cpp:1:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'unsigned int' to 'Yoba &&' for 1st argument
struct Yoba{};
^
1 error generated.