When using the PlayFab documentation for c ++ I get the following error:
there is no suitable constructor to convert from "void (const PlayFab::ClientModels::LoginResult &result, void* customData)" to "std::function<void(const Playfab::ClientModels::LoginResult& result, void* customData)>