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<std::string> &types=std::vector<std::string>() );
<br><br>The previous version generated next string as default argument. ( For clarity I replaced std::basic_string< ... > with std::string )<br><br>vector<std::string >,std::allocator<std::string > > >((&allocator<std::string > >()))
<br clear="all"><br>The new version is<br><br>std::vector<std::string, std::allocator<std::string > >(((const std::allocator<std::string >&)((const std::allocator<std::string >*)(& std::allocator<std::string >()))))
<br><br>As you can see the new version is more complex and it is very difficult to "fix" 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 "fix" 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>