https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82270
--- Comment #2 from Paul Groke <paul.groke at dynatrace dot com> --- I've contributed a workaround to Boost that avoids the bogus warning when using boost::container::small_vector: https://github.com/boostorg/move/pull/14 So if whoever fixes this wants to test with boost::container::small_vector, he/she should use Boost version <= 1.65.1.