Operator Overloading

So what would be the syntax of the overload declaration allowing this?

uint32_t x;
x = myObject;

Seems like it would required overloading the assignment operator of the uint32_t type.