On 22/06/2018 at 10:01, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R19
Platform:
Language(s) : C++ ;
---------
Hi,
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
AutoFree::Set
AutoFree::Assign
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?