[Bug libstdc++/49058] [C++0x] Bind no-arguments functor failed using std::bind with -pedantic option.
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun May 22 22:05:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49058
--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-22 21:32:05 UTC ---
(In reply to comment #10)
> For a complete example:
>
> struct F {
> int operator()() const { return 0; }
> void operator()() const { };
sigh, I should really take a bit longer before hitting send!
struct F {
int operator()() const { return 0; }
void operator()() { };
};
More information about the Gcc-bugs
mailing list