This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/49058] [C++0x] Bind no-arguments functor failed using std::bind with -pedantic option.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49058

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-22 21:24:16 UTC ---
Duh, sorry, that should have been

struct F {
  int operator()();
  void operator()() const;
};


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]