The cpp CCArray.retain function is used in C++ programming language for reference counting in the implementation of a dynamic array called CCArray. By invoking the retain function, the reference count of the CCArray object is incremented by one, preventing it from being deallocated or destroyed prematurely. This function is particularly useful when multiple objects need to reference and make use of the CCArray object simultaneously.
C++ (Cpp) CCArray::retain - 20 examples found. These are the top rated real world C++ (Cpp) examples of CCArray::retain extracted from open source projects. You can rate examples to help us improve the quality of examples.