[Bug libstdc++/57899] bind/function with data member: infinite recursion

2014-01-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899 Jonathan Wakely changed: What|Removed |Added CC||eric.niebler at gmail dot com --- Comme

[Bug libstdc++/57899] bind/function with data member: infinite recursion

2014-01-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899 Jonathan Wakely changed: What|Removed |Added CC||rafal at rawicki dot org --- Comment #8

[Bug libstdc++/57899] bind/function with data member: infinite recursion

2013-10-21 Thread paolo.carlini at oracle dot com
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

[Bug libstdc++/57899] bind/function with data member: infinite recursion

2013-09-18 Thread redi at gcc dot gnu.org
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

[Bug libstdc++/57899] bind/function with data member: infinite recursion

2013-09-18 Thread redi at gcc dot gnu.org
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

[Bug libstdc++/57899] bind/function with data member: infinite recursion

2013-07-21 Thread redi at gcc dot gnu.org
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.

[Bug libstdc++/57899] bind/function with data member: infinite recursion

2013-07-21 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899 Paolo Carlini changed: What|Removed |Added CC||jwakely.gcc at gmail dot com --- Comment

[Bug libstdc++/57899] bind/function with data member: infinite recursion

2013-07-15 Thread redi at gcc dot gnu.org
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

[Bug libstdc++/57899] bind/function with data member: infinite recursion

2013-07-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|