Hi. I am updating pygccxml and found that new GCC-XML introduced new challenge - default value.<br><br>Consider next code:<br><br>void do_smth( const std::vector&lt;std::string&gt; &amp;types=std::vector&lt;std::string&gt;() );
<br><br>The previous version generated next string as default argument. ( For clarity I replaced std::basic_string&lt; ... &gt; with std::string )<br><br>vector&lt;std::string &gt;,std::allocator&lt;std::string &gt; &gt; &gt;((&amp;allocator&lt;std::string &gt; &gt;()))
<br clear="all"><br>The new version is<br><br>std::vector&lt;std::string, std::allocator&lt;std::string &gt; &gt;(((const std::allocator&lt;std::string &gt;&amp;)((const std::allocator&lt;std::string &gt;*)(&amp; std::allocator&lt;std::string &gt;()))))
<br><br>As you can see the new version is more complex and it is very difficult to &quot;fix&quot; it. <br><br>My question is: is default values dumped as is to the xml file or there is some code that transforms a binary representation to string? If there is such code can you point me to it?
<br><br>Thanks.<br><br>P.S. pygccxml was able to &quot;fix&quot; the default values in GCCXML 0.7, but I am not sure it is possible with the new version.<br><br>-- <br>Roman Yakovenko<br>C++ Python language binding<br><a href="http://www.language-binding.net/">
http://www.language-binding.net/</a>