Boost logo

Boost Users :

Subject: Re: [Boost-users] different member function signatures based on class template arguments
From: Hicham Mouline (hicham_at_[hidden])
Date: 2009-04-08 16:15:49


> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] On Behalf Of Joel Falcou
> Sent: 08 April 2009 19:25
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] different member function signatures based on
> class template arguments
>
> Hicham Mouline a écrit :
> > Thanks. I moved the 1st typename out of enable_if in a separate
> metatfct
> > (kind of binder1st for mpl)
> >
> > It still fails the compile error is here:
> >
> > http://codepad.org/gR04D5T5
> >
> > regards,
> >
> You may want to use enable_if on the return type instead of the argument
> type.

Unfortunately, it doesn't seem to work either because of the same error.
And I tried g++ and MSVC.

Regards,


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net