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, kalb at, bjorn.karlsson at, gregod at, wekempf at