From fd915b0865bde5741ceb1dd1e76a99d25b8c63fd Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Tue, 12 Oct 2021 18:01:25 +0200 Subject: Omittable: add a deduction guide Just for completeness, not really needed anywhere yet. --- lib/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/util.h') 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 +Omittable(T&&) -> Omittable; namespace _impl { template -- cgit v1.2.3