id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3003,mem_fn does not work with CComPtr in debug mode,Roman Perepelitsa ,Peter Dimov,"Short description: boost::mem_fn does not work with CComPtr in debug mode, because it takes the address of CComPtr, which asserts. See the thread on boost-users in which the problem was discussed: http://groups.google.com/group/boost-list/browse_thread/thread/e74efb5329e47e4e/83663a064e8838cc#83663a064e8838cc. To reproduce the problem without CComPtr: #include #include struct foo { void bar() {} } f; struct ptr { void* operator&() { std::abort(); } }; foo* get_pointer(const ptr& p) { return &f; } int main() { boost::bind(&foo::bar, ptr())(); } I attached a diff against trunk that fixes the problem in a backward compatible way.",Bugs,closed,To Be Determined,bind,Boost 1.38.0,Problem,fixed,,roman.perepelitsa@…