https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95065

            Bug ID: 95065
           Summary: Remove std::bind1st and std::bind2nd when building in
                    -std=c++17
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gcc at linkmauve dot fr
  Target Milestone: ---

std::bind1st etc. got deprecated in C++11 and removed in C++17, but g++ still
happily compiles them in while clang++ correctly removed them, leading to a
build failure on the latter if the code didn’t get adapted.

I’m on gcc 10.1.0, but I believe previous versions of libstdc++ also had this
issue, so it would make sense to backport it to them once fixed.

Reply via email to