$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Powell, Gary (powellg_at_[hidden])
Date: 2004-02-17 13:23:45
> >> bind(delete_ptr(), _1)
> > std::for_each( tests.begin(), tests.end(), delete_ );
> That is nice. I wonder why BLL didn't do this instead of delete_ptr()?
*) Because I didn't think about using trailing "_" until I saw Joel use them
with spirit.
*) And because what to you call delete_array() ? (overload operator[T] ? for
delete_ ?
(With actually trying to code this:)
std::for_each( tests.begin(), tests.end(), delete_[noop] );
Yours,
-Gary-