We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50932d9 commit 82116c8Copy full SHA for 82116c8
include/fast_io_core_impl/io_lockable.h
@@ -49,8 +49,7 @@ struct basic_general_io_lockable_nonmovable
49
}
50
else
51
{
52
- ::std::destroy_at(__builtin_addressof(handle));
53
- ::std::construct_at(__builtin_addressof(handle), ::std::forward<Args>(args)...);
+ this->handle = T(::std::forward<Args>(args)...);
54
55
56
constexpr void close() noexcept(noexcept(handle.close()))
0 commit comments