<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>QualifiedCppName (infer.IR.QualifiedCppName)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">IR</a>» QualifiedCppName</nav><h1>Module <code>IR.QualifiedCppName</code></h1></header><dl><dtclass="spec exception"id="exception-ParseError"><ahref="#exception-ParseError"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">ParseError</span><spanclass="keyword">of</span> string</code></dt></dl><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt></dl><div><divclass="spec include"><divclass="doc"><dl><dtclass="spec value"id="val-compare"><ahref="#val-compare"class="anchor"></a><code><spanclass="keyword">val</span> compare : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> int</code></dt></dl></div></div></div><dl><dtclass="spec value"id="val-empty"><ahref="#val-empty"class="anchor"></a><code><spanclass="keyword">val</span> empty : <ahref="index.html#type-t">t</a></code></dt><dd><p>empty qualified name</p></dd></dl><dl><dtclass="spec value"id="val-of_qual_string"><ahref="#val-of_qual_string"class="anchor"></a><code><spanclass="keyword">val</span> of_qual_string : string <span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>attempts to parse the argument into a list::of::possibly::templated<T>::qualifiers</p></dd></dl><dl><dtclass="spec value"id="val-to_qual_string"><ahref="#val-to_qual_string"class="anchor"></a><code><spanclass="keyword">val</span> to_qual_string : <ahref="index.html#type-t">t</a><span>-></span> string</code></dt><dd><p>returns qualified name as a string with "::" as a separator between qualifiers</p></dd></dl><dl><dtclass="spec value"id="val-append_qualifier"><ahref="#val-append_qualifier"class="anchor"></a><code><spanclass="keyword">val</span> append_qualifier : <ahref="index.html#type-t">t</a><span>-></span><span>qual:string</span><span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>append qualifier to the end (innermost scope) of the qualified name</p></dd></dl><dl><dtclass="spec value"id="val-extract_last"><ahref="#val-extract_last"class="anchor"></a><code><spanclass="keyword">val</span> extract_last : <ahref="index.html#type-t">t</a><span>-></span><span><span>(string * <ahref="index.html#type-t">t</a>)</span> option</span></code></dt><dd><p>returns last (innermost scope) qualifier and qualified name without last qualifier</p></dd></dl><dl><dtclass="spec value"id="val-strip_template_args"><ahref="#val-strip_template_args"class="anchor"></a><code><spanclass="keyword">val</span> strip_template_args : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>returns qualified name without template arguments. For example:</p><ul><li>input: std::shared_ptr<int>::shared_ptr<long></li><li>output: std::shared_ptr::shared_ptr</li></ul></dd></dl><dl><dtclass="spec value"id="val-append_template_args_to_last"><ahref="#val-append_template_args_to_last"class="anchor"></a><code><spanclass="keyword">val</span> append_template_args_to_last : <ahref="index.html#type-t">t</a><span>-></span><span>args:string</span><span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>append template arguments to the last qualifier. Fails if qualified name is empty or it already has template args</p></dd></dl><dl><dtclass="spec value"id="val-to_list"><ahref="#val-to_list"class=