Apologies - I forgot the attachment.

Thanks again,
s

-----Original Message-----
From: Brad King [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 06, 2007 7:42 PM
To: MOSS Sebastian
Cc: [email protected]
Subject: Re: [GCC-XML] compilation pb running gccxml on code using
SFINAE

MOSS Sebastian wrote:
> Although - as I said after trying this originally - then the value
> member can't be used as a template argument:
[snip]
> template <typename T, bool has_nested_value_type = true>
> struct register_nested_type
> {
>     typedef typename register_nested_type< typename T::value_type,
> has_nested_value_type<typename T::value_type>::value >::value_type
> value_type; 
> };
> 
> template <typename T>
> struct register_nested_type<T, false>
> {
>     // dumb typedef for termination
>     typedef T value_type;
> };
> 
> Again, this compiles on gcc 3.4 (and not gcc 3.3 or gccxml). Can you
> suggest a workaround for this?

Please send me a complete example that I can try compiling.

Thanks,
-Brad 
 
*******************************
This e-mail contains information for the intended recipient only.  It may 
contain proprietary material or confidential information.  If you are not the 
intended recipient you are not authorised to distribute, copy or use this 
e-mail or any attachment to it. Murex cannot guarantee that it is virus free 
and accepts no responsibility for any loss or damage arising from its use.  If 
you have received this e-mail in error please notify immediately the sender and 
delete the original email received, any attachments and all copies from your 
system.

Attachment: test.tar.gz
Description: test.tar.gz

_______________________________________________
gccxml mailing list
[email protected]
http://www.gccxml.org/mailman/listinfo/gccxml

Reply via email to