Boost logo

Boost Users :

From: Black Ice (yg-boost-users_at_[hidden])
Date: 2003-01-09 20:32:56


thanks.

--
/*******************/
自由(liberty)无非就是这样一种承诺:每个人将会得到一种保障,保障我们可以与
权威、多数、流俗及舆论的影响相抗衡。
/*******************/
"Peter Dimov" <pdimov_at_[hidden]> 写入消息新闻
:002f01c2b81b$0841e840$1d00a8c0_at_pdimov2...
> From: "Black Ice" <yg-boost-users_at_[hidden]>
> > As following manner:
> > template<class D> scoped_ptr(Y * p, D d);
> >
> > Any suggestion are appreciated.
>
> Scoped_ptr is intentionally kept as simple as possible to minimize
overhead.
> A custom deallocation feature as above would require either doubling its
> size or making its operator* perform a double indirection.
>
> If you need the custom deallocator feature, use shared_ptr.
>
>
>
> Info: <http://www.boost.org>
> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
> Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>

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