Hi all,<br><br>   I have a problem in using itkGetConstObjectMacro under Debug mode (gcc). This problem comes from its definition in <a class="el" href="http://www.itk.org/Doxygen/html/itkMacro_8h-source.html">itkMacro.h</a>.<br>
<br>  virtual const type &amp; Get##name () const \<br>  { \<br>    itkDebugMacro(&quot;returning &quot; &lt;&lt; #name &quot; of &quot; &lt;&lt; this-&gt;m_##name ); \<br>    return this-&gt;m_##name; \<br>  }<br><br>  Because itkDebugMacro wants to print the value of &quot;this-&gt;m_##name&quot;, it fails to compile when &quot;this-&gt;m_##name&quot; is a &quot;complex&quot; type,<br>
say: std::map. Maybe we could remove the need to print &quot;this-&gt;m_##name&quot;.<br><br>  The issue in other macros, such as <br><br><a style="" class="el" href="http://www.itk.org/Doxygen/html/itkMacro_8h.html#89294335d94b115d40e2603f2fff7950">itkGetConstMacro</a><br>
<a class="el" href="http://www.itk.org/Doxygen/html/itkMacro_8h.html#d11f8adb47609be2b4b58948904f8a7c">itkGetConstObjectMacro</a><br><a class="el" href="http://www.itk.org/Doxygen/html/itkMacro_8h.html#5c9ee7ba633b007afc64326065fa9243">itkGetConstReferenceObjectMacro</a><br>
<a class="el" href="http://www.itk.org/Doxygen/html/itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a><br><a class="el" href="http://www.itk.org/Doxygen/html/itkMacro_8h.html#f6bef9ee7e4c077b96a08848ed4e7660">itkGetObjectMacro</a><br>
   <br><br>Thanks,<br>Mengda<br>