7 lines
843 B
XML
Raw Normal View History

<?xml version="1.0"?>
<clause number="12.3.3.8" title="Do statements">
<paragraph>For a do statement stmt of the form: <code_example><![CDATA[
do do-body while (expr);
]]></code_example><list><list_item> v has the same definite assignment state on the control flow transfer from the beginning of stmt to do-body as at the beginning of stmt. </list_item><list_item> v has the same definite assignment state at the beginning of expr as at the end point of do-body. </list_item><list_item> If v is definitely assigned at the end of expr, then it is definitely assigned on the end point of stmt. </list_item><list_item> If v has the state &quot;definitely assigned after false expression&quot; at the end of expr, then it is definitely assigned on the control flow transfer to the end point of stmt. </list_item></list></paragraph>
</clause>