Declaration

struct marshal_object_tag
{};

Description

The marshal_object_tag type is an empty tag used to select marshalling constructors. A constructor that accepts this type as its first parameter is treated as a marshalling constructor by the library, and can be called automatically when an object is being transferred between assemblies.

This type is intentionally minimal. It is usually only referenced in constructor declarations and is not expected to be constructed directly by user code.

See also