code for boost shared safe pointer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pauldepstein@att.net

    code for boost shared safe pointer

    struct AStructIDontUnd erstand
    {
    template < typename T >
    void operator() ( T* ) {}
    };


    I have been unable to understand the purpose of the above code. As I
    understand it, it is used to handle boost shared safe pointers and is
    a "deallocati on function"

    I would be grateful if someone could enlighten me at an elementary
    level.

    Thank you very much for your help.

    Paul Epstein
Working...