Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualMadhed

Posted 02 February 2014 - 10:45 AM

Well, there's shared_ptr::get which returns the underlying raw pointer.

 

So I guess you could do (didn't test this): i.get()[5] = 10;

 

But I suggest you don't use shared_ptr-to-array.


#1Madhed

Posted 02 February 2014 - 10:41 AM

Well, there's shared_ptr::get which returns the underlying raw pointer.

 

So I guess you could do (didn't test this): i.get()[5] = 10;


PARTNERS