Skip to content

Commit faf6ce0

Browse files
committed
[memory.syn] add default argument to owner_less
Also change class-key to 'struct' to match later definition.
1 parent 1d3fe3c commit faf6ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/utilities.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3136,7 +3136,7 @@
31363136
template<class T> void swap(weak_ptr<T>& a, weak_ptr<T>& b) noexcept;
31373137

31383138
// \ref{util.smartptr.ownerless}, class template owner_less:
3139-
template<class T> class owner_less;
3139+
template<class T = void> struct owner_less;
31403140

31413141
// \ref{util.smartptr.enab}, class template enable_shared_from_this:
31423142
template<class T> class enable_shared_from_this;

0 commit comments

Comments
 (0)