code for boost shared safe pointer

Discussion in 'C++' started by pauldepstein@att.net, Apr 8, 2008.

  1. Guest

    struct AStructIDontUnderstand
    {
    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 "deallocation function"

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

    Thank you very much for your help.

    Paul Epstein
    , Apr 8, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. eric
    Replies:
    0
    Views:
    435
  2. eric
    Replies:
    0
    Views:
    299
  3. eric
    Replies:
    0
    Views:
    303
  4. eric
    Replies:
    0
    Views:
    307
  5. eric
    Replies:
    0
    Views:
    277
Loading...

Share This Page