Skip to content

Conversation

@Steelskin
Copy link

This is a workaround for the MSVC compiler, which attempts to generate a copy assignment operator implementation for classes marked as __declspec(dllexport). Explicitly marking the copy assignment operator as deleted works around the problem.

DevCom ticket:
https://developercommunity.microsoft.com/t/Classes-marked-with-__declspecdllexport/11003192

This is a workaround for the MSVC compiler, which attempts to generate a
copy assignment operator implementation for classes marked as
`__declspec(dllexport)`. Explicitly marking the copy assignment operator
as deleted works around the problem.

DevCom ticket:
https://developercommunity.microsoft.com/t/Classes-marked-with-__declspecdllexport/11003192
@Steelskin Steelskin requested a review from a team as a code owner December 10, 2025 11:44
@Steelskin
Copy link
Author

@swift-ci please test

@Steelskin
Copy link
Author

@swift-ci please test macos platform

@Steelskin
Copy link
Author

@swift-ci please test windows platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant