[Bug libstdc++/64656] New: [C++14] DR 2128 Absence of global functions cbegin/cend

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jan 18 16:39:00 GMT 2015


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

            Bug ID: 64656
           Summary: [C++14] DR 2128 Absence of global functions
                    cbegin/cend
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org

http://cplusplus.github.io/LWG/lwg-defects.html#2128

C++14 mode is mssing cbegin, rbegin, crbegin etc.

#include <iterator>

int main()
{
  int i[1];
  std::cbegin(i);
  std::cend(i);
  std::rbegin(i);
  std::rend(i);
  std::crbegin(i);
  std::crend(i);
}



More information about the Gcc-bugs mailing list