aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-10-03 10:08:05 +0200
committerEugen Wissner <belka@caraus.de>2026-10-03 10:08:05 +0200
commit5d808dd4c4003968bbdf180e1e1193231db5d43b (patch)
tree6391fc8990790288e76dc8eb6ff7b1a6872dab26 /include
parent2ea84997ae37517729c3c8ed3af8a000bdc632df (diff)
downloadelna-5d808dd4c4003968bbdf180e1e1193231db5d43b.tar.gz
Strip outmost constness on infered arguments
Diffstat (limited to 'include')
-rw-r--r--include/elna/boot/symbol.h8
1 files changed, 8 insertions, 0 deletions
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
@@ -679,6 +679,14 @@ namespace elna::boot
type resolve_underlying_type(const std::shared_ptr<alias_type>& 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.
*