http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899
Jonathan Wakely changed:
What|Removed |Added
CC||eric.niebler at gmail dot com
--- Comme
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899
Jonathan Wakely changed:
What|Removed |Added
CC||rafal at rawicki dot org
--- Comment #8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899
Paolo Carlini changed:
What|Removed |Added
CC||joerg.rich...@pdv-fs.de
--- Comment #7 fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899
--- Comment #6 from Jonathan Wakely ---
Clang compiles the preprocessed source OK, so the problem may be in the
front-end not the library.
Commenting out the volatile and const volatile overloads of _Bind::operator()
allows the program to compile
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899
--- Comment #5 from Jonathan Wakely ---
Reduced a bit more to only depend on std::bind
#include
using std::bind;
using std::placeholders::_1;
struct S { int i; };
struct P { S s; };
struct get_s
{
const S& operator()(const P& p) const { r
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899
--- Comment #4 from Jonathan Wakely ---
I think it's the library, but haven't been able to reduce it yet.
With only one nested bind expressions the code works, but with a second nested
bind it fails.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899
Paolo Carlini changed:
What|Removed |Added
CC||jwakely.gcc at gmail dot com
--- Comment
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899
--- Comment #2 from Jonathan Wakely ---
Reduced slightly:
#include
#include
using namespace std;
using namespace std::placeholders;
int main()
{
pair table = {"0123456789012345", 0};
auto get_first = mem_fn(&pair::first);
auto it
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|