------- Comment #3 from redi at gcc dot gnu dot org 2010-09-13 17:04 ------- the test already includes <cassert> so presumably the fix is simply to replace line 77 with
T const* operator->() const { assert(this->is_initialized()) ; return this->get_ptr_impl() ; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45645