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
auto object = std::make_shared<derived>();
auto delegate = Delegate((std::shared_ptr<base>)object, &derived::foo); // workauto delegate = Delegate(object, &derived::foo); // does not work
Use
static_cast
to resolve this problemDelegates/cpp/Platform.Delegates/Platform.Delegates.Delegate.h
Lines 35 to 36 in 77ae748
The text was updated successfully, but these errors were encountered: