aboutsummaryrefslogtreecommitdiff
path: root/lib/util.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-10-12 18:01:25 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-10-12 18:01:25 +0200
commitfd915b0865bde5741ceb1dd1e76a99d25b8c63fd (patch)
tree9ad72f9a4e61c1446848839ea3347854e38ba3fc /lib/util.h
parentfc0fdf2ed6006c11ffd47675fabb1232721c5e7d (diff)
downloadlibquotient-fd915b0865bde5741ceb1dd1e76a99d25b8c63fd.tar.gz
libquotient-fd915b0865bde5741ceb1dd1e76a99d25b8c63fd.zip
Omittable: add a deduction guide
Just for completeness, not really needed anywhere yet.
Diffstat (limited to 'lib/util.h')
-rw-r--r--lib/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util.h b/lib/util.h
index c6171b91..9c146100 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -138,6 +138,8 @@ public:
const value_type& operator*() const& { return base_type::operator*(); }
value_type& operator*() && { return base_type::operator*(); }
};
+template <typename T>
+Omittable(T&&) -> Omittable<T>;
namespace _impl {
template <typename T>