Skip to content

Provide a friend swap() functions rather than a member function #742

@eyalroz

Description

@eyalroz

As discussed here and here, it is customary to provide swap functions as freestanding functions in the same namespace as the type to be made swappable. So, let's do that for unique regions and spans.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions