$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-02-21 10:58:45
Fernando Cacciola (Home) wrote:
[...]
> One is initialization from a null pointer value, as in:
>
> struct C
> {
> C() : ptr(0) {}
>
> shared_ptr<X> ptr ;
> } ;
>
> this one is very useful because its very idiomatic.
Use
C() : ptr() {}
instead; it is supposed to work for any pointer.