    <span class="c1">// This is the &lt;system_error2&gt; analogue of Standard Outcome&#39;s
</span><span class="c1"></span>    <span class="c1">// error_from_exception() utility function. It consumes an exception
</span><span class="c1"></span>    <span class="c1">// ptr (defaulted to current exception), and tries to match it to a
</span><span class="c1"></span>    <span class="c1">// standard C++ library exception type, returning a system_code
</span><span class="c1"></span>    <span class="c1">// with an