id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3937,equal_pointees and invalid pointers,NN,No-Maintainer,"In file boost/utility/compare_pointees.hpp function equal_pointees treat invalid pointers as a positive value. There should be added another function which treats invalid pointers as a negative value. {{{ #!cpp template inline bool equal_pointees ( OptionalPointee const& x, OptionalPointee const& y ) { return (!x) != (!y) ? false : ( !x ? true : (*x) == (*y) ) ; } template inline bool equal_pointees_false ( OptionalPointee const& x, OptionalPointee const& y ) { return (!x) != (!y) ? false : ( !x ? false : (*x) == (*y) ) ; } }}} Thanx.",Feature Requests,closed,Boost 1.43.0,utility,Boost 1.42.0,Optimization,wontfix,,