id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4107,ptr_map::mapped_type incorrect,olafvdspek@…,Thorsten Ottosen,"ptr_map::mapped_type seems incorrect. It's int* instead of int. {{{ #include #include template typename T::mapped_type* find_ptr(T& c, U v) { typename T::iterator i = c.find(v); return i == c.end() ? NULL : &i->second; } int main() { typedef boost::ptr_map c1_t; std::map c0; c1_t c1; int* p0 = find_ptr(c0, 'x'); int* p1 = find_ptr(c1, 'x'); return 0; } }}}",Bugs,closed,Boost 1.43.0,ptr_container,Boost 1.42.0,Problem,invalid,,