This is used as a function parameter when the underlying function receives Object by value. Usage:
More...
Public Member Functions | |
| _ByValueShared_Object (Const_Object new_value) | |
| _ByValueShared_Object (MR.Misc._Moved< Object > moved) | |
Static Public Member Functions | |
| static implicit | operator _ByValueShared_Object (Const_Object arg) |
| static implicit | operator _ByValueShared_Object (MR.Misc._Moved< Object > arg) |
This is used as a function parameter when the underlying function receives Object by value. Usage:
new() to default-construct the instance.Object/Const_Object to copy it into the function.Move(instance) to move it into the function. This is a more efficient form of copying that might invalidate the input object. Be careful if your input isn't a unique reference to this object.null to use the default argument, assuming the parameter has a default argument (has ? in the type).