[GCC-XML] last commit

Roman Yakovenko roman.yakovenko at gmail.com
Tue Jun 17 14:47:33 EDT 2008


On Thu, Jun 12, 2008 at 10:11 PM, Roman Yakovenko
<roman.yakovenko at gmail.com> wrote:
>> Can you work with the current version if you ignore declarations marked
>> "artificial"?  Remember that before the GCC 4.2 upgrade the artificial
>> copy constructor *did* show up.

Hi Brad.

Sorry for bringing this back, but it seems that I cannot work with the
current version, without commenting out some test cases. For obvious
reasons, I prefer not to do it. May I suggest some other solution?

Few mounthes ago, I was improving my type traits functionality and
found out that there are few use case it still misses. So I took a
look on GCC code, trying to find functions that check whether class is
* default constructable
* copy constructorable
* assignable

GCC must define them somewhere, after all it should be able to produce
compilation errors when such functionality is not available and the
user uses it. The idea was to place such information as attributes on
Class/Struct element:

<Class ... is_default_constructable="1" is_assignable="1"
is_copy_constructable="1">

I found something related to copy constructor only, but it was too
deep and to complex for me, so I leave it.

May I ask you to help me here?

Thanks.

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the gccxml mailing list