Boost logo

Boost Users :

From: Steven E. Harris (seharris_at_[hidden])
Date: 2002-08-07 10:51:30


"kthomases" <ken_at_[hidden]> writes:

> for_each(my_map.begin(), my_map.end(), boost::bind(&Point::Reset, _1));

Does this bound function actually select the pair's "second" member to
call the function on? It looks at though it will fail to compile,
expecting the applied first argument to be convertible to the UDT
Point.

-- 
Steven E. Harris        :: seharris_at_[hidden]
Raytheon                :: http://www.raytheon.com

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