Re: [sigc] An "adaptor_type" cart-before-the-horse error in libsigc++-2.0
- From: Martin Schulze <martin-ml hippogriff de>
- To: Jeff Franks <jcf tpg com au>
- Cc: libsigc-list gnome org
- Subject: Re: [sigc] An "adaptor_type" cart-before-the-horse error in libsigc++-2.0
- Date: Mon, 20 Oct 2003 20:22:28 +0200
Am 2003.10.20 17:55 schrieb(en) Jeff Franks:
Martin,
I've found another problem. In the following header files:
adaptors/bind.h
adaptors/compose.h
adaptors/hide.h
adaptors/exception_catch.h
all occurrences of this typedef
typedef typename adapts<T_functor>::adaptor_type adaptor_type;
comes after its actual use, e.g
struct bind_functor <0, T_bound, T_functor> : public adapts<T_functor>
{
 ...
 struct deduce_result_type<T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6, 
void>
{ typedef typename adaptor_type::deduce_result_type<typename 
type_trait<T_arg1>::pass,typename type_trait<T_arg2>::pass,typename 
type_trait<T_arg3>::pass,typename    type_trait<T_arg4>::pass,
typename type_trait<T_arg5>::pass,typename type_trait<T_arg6>::pass, 
typename type_trait<T_bound>::pass>::type type; };
 typedef typename adaptor_type::result_type  result_type;
 typedef typename adapts<T_functor>::adaptor_type adaptor_type;
...
};
I can do a patch if you want.
Done. Expect version 1.9.9 in about 30 minutes. I wonder what
test cases are for...
Regards,
  Martin
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]