public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/114298] New: std::lazy_split_view constructor is currently not explicit
@ 2024-03-10 16:41 michael.kenzel at gmail dot com
  2024-03-11  0:25 ` [Bug libstdc++/114298] " michael.kenzel at gmail dot com
  2024-03-11 14:19 ` redi at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: michael.kenzel at gmail dot com @ 2024-03-10 16:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114298
           Summary: std::lazy_split_view constructor is currently not
                    explicit
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: michael.kenzel at gmail dot com
  Target Milestone: ---

[range.lazy.split.view][1] specifies the following constructor

        constexpr explicit lazy_split_view(V base, Pattern pattern);

However, libstdc++ seems to currently be missing the explicit:
https://github.com/gcc-mirror/gcc/blob/993c6de642ffeb2867edbe80ff2a72c0a2eb604e/libstdc%2B%2B-v3/include/std/ranges#L3589-L3592

[1]: https://eel.is/c++draft/range.lazy.split.view

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/114298] std::lazy_split_view constructor is currently not explicit
  2024-03-10 16:41 [Bug c++/114298] New: std::lazy_split_view constructor is currently not explicit michael.kenzel at gmail dot com
@ 2024-03-11  0:25 ` michael.kenzel at gmail dot com
  2024-03-11 14:19 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: michael.kenzel at gmail dot com @ 2024-03-11  0:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Michael Kenzel <michael.kenzel at gmail dot com> ---
I just learned that this was apparently only added in C++23 (P2711 [1]), so I
was likely a bit too quick to open this issue…

[1]: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2711r1.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/114298] std::lazy_split_view constructor is currently not explicit
  2024-03-10 16:41 [Bug c++/114298] New: std::lazy_split_view constructor is currently not explicit michael.kenzel at gmail dot com
  2024-03-11  0:25 ` [Bug libstdc++/114298] " michael.kenzel at gmail dot com
@ 2024-03-11 14:19 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2024-03-11 14:19 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-03-11
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Right, this is documented as unimplemented at
https://en.cppreference.com/w/cpp/compiler_support although it should also be
added to
https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2023

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-11 14:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-10 16:41 [Bug c++/114298] New: std::lazy_split_view constructor is currently not explicit michael.kenzel at gmail dot com
2024-03-11  0:25 ` [Bug libstdc++/114298] " michael.kenzel at gmail dot com
2024-03-11 14:19 ` 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).