On 22/06/2018 at 10:01, xxxxxxxx wrote:
Cinema 4D Version: R19
Language(s) : C++ ;
In the past I have only had to use the constructor of an AutoFree. Thus passing the object in the AutoFree constructor.
Now, I need to assign an object and was wondering what the difference would be between
The documentation mentions the same for both.
Does both free an already assigned object when assigning/setting a new object, or should I first free the existing object (after a Release()) and then perform an Assign/Set?