id summary reporter owner description type status milestone component version severity resolution keywords cc 10834 ptr_array cannot be used with boost::nullable as type parameter florian.schmid1978@… Thorsten Ottosen "The copy constructor of ptr_array uses operator[] to access the elements of the ptr_array to copy.[[BR]] Problem one: It is not save to call ptr_array[i] if element i is null.[[BR]] Problem two: Operator[] returns a reference to remove_nullable::type. The address of this object is then casted to const T*, which fails with compilation error C2664 if T=nullable, because X* cannot be casted to nullable*. Reproduction: compile attached test.cpp[[BR]] Possible fix: see attached patch[[BR]] [[BR]] Regards, Florian" Bugs new To Be Determined ptr_container Boost 1.57.0 Problem