From 5d808dd4c4003968bbdf180e1e1193231db5d43b Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 3 Oct 2026 10:08:05 +0200 Subject: Strip outmost constness on infered arguments --- include/elna/boot/symbol.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/elna/boot/symbol.h b/include/elna/boot/symbol.h index fd56d98..31d5c45 100644 --- a/include/elna/boot/symbol.h +++ b/include/elna/boot/symbol.h @@ -678,6 +678,14 @@ namespace elna::boot /// \overload type resolve_underlying_type(const std::shared_ptr& alias); + /** + * Resolves outer type qualifiers while preserving non-qualified aliases. + * + * \param subject The type to unqualify. + * \return The unqualified type. + */ + type unqualify(const type& subject); + /** * Resolves an alias chain until the underlying type or a qualified type is * reached. -- cgit v1.2.3