Search:

Type: Posts; User: gopu

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    3,663

    Thanks for ideas. The insert without copy is...

    Thanks for ideas. The insert without copy is intentional.

    When do you use shared_ptr<> and when shared_array<>.

    what does these signify?

    boost::shared_ptr<int> smrtptr (new int[256]);
    and...
  2. Replies
    5
    Views
    3,663

    Using shared_ptr instead of raw pointers

    Hi,

    I want to used shared_ptr here instead of raw pointers. How can the following code be changed to use shared_ptr or shared_array?




    #define MAX_COLS 1000

    MyClass
Results 1 to 2 of 2