<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>How this helps:</div><div><br></div><a href="http://en.cppreference.com/w/cpp/language/aggregate_initialization">http://en.cppreference.com/w/cpp/language/aggregate_initialization</a><div><br></div><div><div><br><div><div>On Jul 22, 2014, at 6:26 AM, med aweng <medswengineer@gmail.com> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div>Hi,<br><br></div>As you can see in the following statement:<br><br><pre><div class="" id="LC120">    <span class="">InputImageType</span><span class="">::</span><span class="">OffsetType</span> <span class="">offset1</span> <span class="">=</span> <span class="">{{</span><span class="">0</span><span class="">,</span> <span class="">-</span><span class="">1</span><span class="">}};<br>
<br></span></div><div class="" id="LC120"><span class="">From here:<a href="https://github.com/ComplexSystemsModeling/DCMTK-ITK/blob/master/Modules/Numerics/Statistics/test/itkScalarImageToRunLengthMatrixFilterTest.cxx">https://github.com/ComplexSystemsModeling/DCMTK-ITK/blob/master/Modules/Numerics/Statistics/test/itkScalarImageToRunLengthMatrixFilterTest.cxx</a><br>
<br></span></div><div class="" id="LC120"><span class="">Two braces have been used with the "offset". Should this be done? Why is that?<br><br></span></div><div class="" id="LC120"><span class="">Thanks.<br></span></div>
</pre><br></div>
_____________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at<br>http://www.kitware.com/opensource/opensource.html<br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://www.kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://public.kitware.com/mailman/listinfo/insight-users<br></blockquote></div><br></div></div></body></html>