What is the real difference between
Asset.Object != nullptr;
and
Asset.Succeed();
I saw in some tutorial using Asset.Object != nullptr; and in some other Asset.Succeed() to check the Assets.
What is the real difference between
Asset.Object != nullptr;
and
Asset.Succeed();
I saw in some tutorial using Asset.Object != nullptr; and in some other Asset.Succeed() to check the Assets.
The purpose of both checks are the same. They are determing if Asset.Object is a nullptr or not.
This is what Succeed does: return !!Object;