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++/64656] New: [C++14] DR 2128 Absence of global functions cbegin/cend


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);
}


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