-
Recent Posts
Friends
- Aletheis
- Ardents En Zed
- Ari Gesher
- Benjy Feen
- Blogo Perea de Sid
- Cynical Mom
- dannyman
- Dave Dribin
- David Lemson
- Declan Fleming
- Geoff Raye
- Joe Gross
- Kathy Schrenk
- KC Lemson
- Keith Garner
- Liz's Pictures
- Lorah Gross
- Mark Notarus
- Marty McCarthy
- Matt Williams
- Mike Kolb
- Reasonable Goods
- Rebecca
- Rene Hendrix
- RJ
- Saul Pwanson
- Sean O'Connor
- Steven Engelhardt
- Tim Skirvin
- Tom D
Politics
Sports
Recent Comments
- Sambal : C++ Runtime Types: Find All Classes Derived From a Base Class (2) on C++ runtime class registration
- Generate diagnostic message for HRESULT codes? | The Largest Forum Archive on Get Error Message from HRESULT
- C++ Runtime Types: Find All Classes Derived From a Base Class (2) « Sambal on C++ runtime class registration
- JV on Juniper NetConnect on 64 bit linux
- Daniel Howard on Is Blagojavich the most corrupt …
Categories
Meta
Daily Archives: October 24, 2006
boost::bind makes my brain hurt
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
Posted in tech
Leave a comment