Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


#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