Boost logo

Boost Users :

Subject: [Boost-users] question about boost pointer
From: young (yqin_99_at_[hidden])
Date: 2012-06-08 09:45:29


I have question about boost pointer. If I define a pointer by using:

boost::shared_ptr<int> p;

How to use p to get next int? In classic c++ pointer, I could use *(p+1).
How to do it in Boost?

--
View this message in context: http://boost.2283326.n4.nabble.com/question-about-boost-pointer-tp4631069.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net