From 72089753f703f02ce2c3ec2e18b4ec7c62abda1a Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 21 Nov 2020 18:18:31 +0200 Subject: [PATCH] Add Doxygen annotation --- include/boost/core/ref.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/core/ref.hpp b/include/boost/core/ref.hpp index 147cee2..a416cbd 100644 --- a/include/boost/core/ref.hpp +++ b/include/boost/core/ref.hpp @@ -110,6 +110,13 @@ public: template friend class reference_wrapper; + /** + Constructs a `reference_wrapper` object that stores the + reference stored in the compatible `reference_wrapper` `r`. + + @remark Only enabled when `Y*` is convertible to `T*`. + @remark Does not throw. + */ template reference_wrapper( reference_wrapper r, typename enable_if_c::value, boost::detail::ref_empty>::type = boost::detail::ref_empty() ): t_( r.t_ )