-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Labels
libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.rangesIssues related to `<ranges>`Issues related to `<ranges>`
Description
The following C++20 program will compile with other compilers, but not when -stdlib=libc++ is specified:
#include <iterator>
decltype(std::ranges::rbegin) x;
The C++ standard states:
24.3 Range access [range.access]
1 In addition to being available via inclusion of the<ranges>
header, the customization point objects in 24.3
are available when<iterator>
(23.2) is included.
Not a big deal, but I wanted to report this.
Ed Vogel
Metadata
Metadata
Assignees
Labels
libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.rangesIssues related to `<ranges>`Issues related to `<ranges>`