public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/64656] New: [C++14] DR 2128 Absence of global functions cbegin/cend
@ 2015-01-18 16:39 redi at gcc dot gnu.org
2015-01-18 16:40 ` [Bug libstdc++/64656] " ville.voutilainen at gmail dot com
2015-01-19 14:40 ` redi at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2015-01-18 16:39 UTC (permalink / raw)
To: gcc-bugs
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);
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libstdc++/64656] [C++14] DR 2128 Absence of global functions cbegin/cend
2015-01-18 16:39 [Bug libstdc++/64656] New: [C++14] DR 2128 Absence of global functions cbegin/cend redi at gcc dot gnu.org
@ 2015-01-18 16:40 ` ville.voutilainen at gmail dot com
2015-01-19 14:40 ` redi at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: ville.voutilainen at gmail dot com @ 2015-01-18 16:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64656
Ville Voutilainen <ville.voutilainen at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-01-18
CC| |ville.voutilainen at gmail dot com
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at gmail dot com
Ever confirmed|0 |1
--- Comment #1 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
Mine.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libstdc++/64656] [C++14] DR 2128 Absence of global functions cbegin/cend
2015-01-18 16:39 [Bug libstdc++/64656] New: [C++14] DR 2128 Absence of global functions cbegin/cend redi at gcc dot gnu.org
2015-01-18 16:40 ` [Bug libstdc++/64656] " ville.voutilainen at gmail dot com
@ 2015-01-19 14:40 ` redi at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2015-01-19 14:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64656
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |5.0
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed at r219846 by Ville's patch
* include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
on overloads for arrays.
(cbegin, cend, rbegin, rend, crbegin, crend): New.
* testsuite/24_iterators/range_access_cpp14.cc: New.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-19 14:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-18 16:39 [Bug libstdc++/64656] New: [C++14] DR 2128 Absence of global functions cbegin/cend redi at gcc dot gnu.org
2015-01-18 16:40 ` [Bug libstdc++/64656] " ville.voutilainen at gmail dot com
2015-01-19 14:40 ` redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).