n>&#160;                <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((it-&gt;isDirected().has_value() &amp;&amp; it-&gt;isDirected().value())  &amp;&amp; !(it-&gt;isWeighted().has_value() &amp;&amp; it-&gt;isWeighted().value()))</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;                {</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;                    os &lt;&lt; dynamic_cast&lt;const DirectedEdge&