You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/bounded/relocate.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ import std_module;
14
14
namespacebounded_relocate_adl_detail {
15
15
16
16
template<typename T>
17
-
constexprautorelocate(T & ref) noexcept {
17
+
constexprautorelocate(T & ref) noexcept-> T {
18
18
static_assert(std::is_nothrow_move_constructible_v<T>, "Please provide a noexcept relocate overload for your type or mark its move constructor noexcept.");
19
19
static_assert(std::is_nothrow_destructible_v<T>, "Do not mark your destructor as noexcept(false)");
0 commit comments