prog.cpp: In function ‘int main()’:
prog.cpp:22:7: error: use of deleted function ‘constexpr object& object::operator=(const object&)’
o = p;
^
prog.cpp:4:8: note: ‘constexpr object& object::operator=(const object&)’ is implicitly declared as deleted because ‘object’ declares a move constructor or move assignment operator
struct object {
^~~~~~