Skip to content

Commit 4024afd

Browse files
committed
Added note about custom deleter for make_observable_unique
1 parent 79e8fd7 commit 4024afd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/oup/observable_unique_ptr.hpp

+3
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,9 @@ class observable_unique_ptr {
413413
/// Create a new observable_unique_ptr with a newly constructed object.
414414
/** \param args Arguments to construct the new object
415415
* \return The new observable_unique_ptr
416+
* \note Custom deleters are not supported by this function. If you require
417+
* a custom deleter, please use the observable_unique_ptr constructors
418+
* directly.
416419
*/
417420
template<typename T, typename ... Args>
418421
observable_unique_ptr<T> make_observable_unique(Args&& ... args) {

0 commit comments

Comments
 (0)