|
Boost Users : |
Subject: Re: [Boost-users] problem with enable_if_c and gcc4
From: Lewis Hyatt (lhyatt_at_[hidden])
Date: 2009-10-14 00:16:02
Lewis Hyatt <lhyatt <at> gmail.com> writes:
>
> Hello Everyone-
>
> The following code compiles fine with g++ 4.1.2 but does not compile with
4.4.1,
> I get an error message saying the prototype does not match any declared in the
> class. This happens both with Boost 1.40.0 and 1.33.1, on Debian (x86 64-bit).
> Does anyone know what's up with this, is there some workaround?
> Thanks very much.
FYI it seems that replacing with the equivalent solution using enable_if instead
of enable_if_c works.
-Lewis
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