Boost logo

Boost Users :

From: Vladimir Krasovsky (vkrasovsky_at_[hidden])
Date: 2005-05-19 02:54:02

Hello Arne,

Wednesday, May 18, 2005, 7:38:20 PM, you wrote:

> scoped_ptr cannot be used with incomplete types, unfortunately, and thus
> is not available for use in the pimpl idiom.

Please read . Near
the end of page you can see
"One common usage of scoped_ptr is to implement a handle/body (also
called pimpl) idiom which avoids exposing the body (implementation) in
the header file."

Examples are also there.

Best regards,
 Vladimir                            mailto:vkrasovsky_at_[hidden]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at