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 31b5071 commit 90ffcf8Copy full SHA for 90ffcf8
include/nonstd/scope.hpp
@@ -897,7 +897,7 @@ class unique_resource
897
);
898
899
scope_static_assert(
900
- (std11::is_move_constructible<R>::value && std11::is_nothrow_move_constructible<D>::value )
+ (std11::is_move_constructible<D>::value && std11::is_nothrow_move_constructible<D>::value )
901
|| std11::is_copy_constructible<D>::value
902
, "deleter must be nothrow_move_constructible or copy_constructible"
903
0 commit comments