mclow.lists marked 8 inline comments as done.
mclow.lists added inline comments.


================
Comment at: include/mutex:176
 
+template<class M> unique_lock(unique_lock<M>)
+    -> unique_lock<M>; // C++17
----------------
mclow.lists wrote:
> EricWF wrote:
> > This should be guarded behind a feature test macro. I would suggest adding 
> > this to `__config`.
> > 
> > ```
> > #if !defined(__cpp_deduction_guides) || __cpp_deduction_guides < 201611
> > # define _LIBCPP_HAS_NO_DEDUCTION_GUIDES
> > #endif
> > ```
> That sounds right to me.
Actually, this is in the synopsis; so no guard needed.


https://reviews.llvm.org/D31163



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to