Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-02-21 10:20:03


From: "nckgl" <nickgl_at_[hidden]>
> how do I define const smart pointer?
>
> for example for "int" type
> 1. scoped_ptr<const int>

A pointer to const int, similar to int const *.

> 2. const scoped_ptr<int>

A const pointer to int, similar to int * const.


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