>> template <class _CharT, class _Traits>
>> inline _LIBCPP_INLINE_VISIBILITY
>> basic_filebuf<_CharT, _Traits>&
>> basic_filebuf<_CharT, _Traits>::operator=(basic_filebuf&& __rhs)
>> {
>> close();
>> swap(__rhs);
>> }
>
> Notice the absence of a "return *this".
Shouldn't -Wreturn-type have caught this?
-- Sean Silva