public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/108362] New: views::istream is SFINAE-unfriendly
@ 2023-01-10 15:24 hewillk at gmail dot com
  2023-01-13  0:19 ` [Bug libstdc++/108362] " redi at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hewillk at gmail dot com @ 2023-01-10 15:24 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108362
           Summary: views::istream is SFINAE-unfriendly
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

Similar issue with https://github.com/microsoft/STL/pull/3335.

#include <ranges>
#include <iostream>

template<class T>
concept can_istream_view = requires {
  std::views::istream<T>(std::cin);
};

struct S { };
static_assert(!can_istream_view<S>);

https://godbolt.org/z/b3W1KsPWd

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

end of thread, other threads:[~2023-04-29 14:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-10 15:24 [Bug libstdc++/108362] New: views::istream is SFINAE-unfriendly hewillk at gmail dot com
2023-01-13  0:19 ` [Bug libstdc++/108362] " redi at gcc dot gnu.org
2023-03-07 21:04 ` ppalka at gcc dot gnu.org
2023-03-09 18:35 ` cvs-commit at gcc dot gnu.org
2023-03-09 18:35 ` ppalka at gcc dot gnu.org
2023-04-29 14:04 ` cvs-commit at gcc dot gnu.org
2023-04-29 14:05 ` ppalka 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).