Files
swift-mirror/include/swift/Basic/STLExtras.h
John McCall c610727e0c Add a utility to simplify making a dynamic choice to move or copy.
Using it with emplacing methods relies on actually have a constructor
that takes maybe_movable_ref<X>, which can be awkward. But there are
cases where just calling construct() explicitly can be helpful.
2025-10-11 02:12:18 -04:00

28 KiB