id summary reporter owner description type status milestone component version severity resolution keywords cc 13299 small_vector<..>::emplace_back does not return the new element's reference falko.loebner@… Ion Gaztañaga "I want to emplace a new item at the back of a small_vector and use the reference to the new item: {{{ boost::container::small_vector myVec; auto& newItem = myVec.emplace_back(10); assert(newItem == 10); /* this fails */ }}} It seems like the returned reference points to the last element of the internal array (like myVec[15]). This element is uninitialized. " Bugs closed To Be Determined container Boost 1.63.0 Problem fixed small_vector, emplace_back