why?
typedef … K;
typedef std::map<k , HANDLE> map_type;
map_type map_;
…
std::for_each(map_.begin(), map_.end(),
boost::bind(&map_type::value_type::second, _1)); // this works
std::for_each(map_.begin(), map_.end(),
boost::bind(WSACloseEvent,
boost::bind(&map_type::value_type::second, _1)));
// this barfs inside boost::bind … incomplete type
Monthly Archives: October 2006
boost::bind makes my brain hurt
October 24, 2006 – 4:06 pm
I’m terrible at sports
October 23, 2006 – 10:34 am
and now I know why. It’s all my birthday’s fault.
It’s nice to be able to put that to rest. whew.
Funny stuff
October 6, 2006 – 8:08 am
Tom Wilson, who played Biff in the back to the future movies, has a little ditty for you:
From: Michael & Evo
Link: Keith Garner
