Return reference in FBVector::emplace_back (#1114)
Summary: - Since C++17, `vector::emplace_back()` returns a reference to the new element inserted. - Differential Revision: D15007059 added support for these semantics in `small_vector`. This adds it for `FBVector` too to be symmetric. Pull Request resolved: https://github.com/facebook/folly/pull/1114 Reviewed By: ot Differential Revision: D15053815 Pulled By: yfeldblum fbshipit-source-id: 73ce9687e77ee9b97f12151cc148a84613b3ed1d
Showing
Please register or sign in to comment