Archived

This forum has been archived. Please start a new discussion on GitHub.

Does IceUtil provide Memory Management functions?

Dear Sir,

I found that IceUtil provides several useful classes,such as mutex, threads. Now I wonder whether it provides Memory Management functions for dynamically allocating and free memory.

BSR.

JaneShang.

Comments

  • matthew
    matthew NL, Canada
    JaneShang wrote:
    Dear Sir,

    I found that IceUtil provides several useful classes,such as mutex, threads. Now I wonder whether it provides Memory Management functions for dynamically allocating and free memory.

    BSR.

    JaneShang.

    IceUtil contains classes that allow your application classes to be reference counted, and therefore automatically deallocated when the last reference is dropped. For an example take a look at the class ChatRoomMembers in the demo/Glacier2/chat directory.

    Regards, Matthew