You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a few methods on TWLPromise that we expose for Obj-C++ that return std::pair or std::tuple. Starting in Xcode 10 we can expose similar methods to Obj-C because C structs are allowed to have ARC object pointers in fields. We can test for this with __has_feature(objc_arc_fields).
The new methods we add should be omitted in C++ because the existing std::pair and std::tuple methods are better there.
The text was updated successfully, but these errors were encountered:
We have a few methods on
TWLPromise
that we expose for Obj-C++ that returnstd::pair
orstd::tuple
. Starting in Xcode 10 we can expose similar methods to Obj-C because C structs are allowed to have ARC object pointers in fields. We can test for this with__has_feature(objc_arc_fields)
.The new methods we add should be omitted in C++ because the existing
std::pair
andstd::tuple
methods are better there.The text was updated successfully, but these errors were encountered: