https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Michael Mehlich from comment #1) > BTW: The header file could be fixed easily by adding std:: in front of these > swap occurrences. No, because that would only consider std::swap and not other functions that can be found by ADL. That problem is solved for GCC 6 and later by using __is_nothrow_swappable instead.