public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* string::find(string_view) is missing from <debug/string>
@ 2022-06-24  7:45 Frederick Virchanza Gotham
  2022-06-24 10:07 ` Jonathan Wakely
  0 siblings, 1 reply; 3+ messages in thread
From: Frederick Virchanza Gotham @ 2022-06-24  7:45 UTC (permalink / raw)
  To: libstdc++

I was hoping to replace "std::string" with "__gnu_debug::string" in my
program, but when I do so, it no longer compiles.

It fails to compile because "__gnu_debug::string" is missing the
member function:

    template <class StringViewLike>
    constexpr size_type find( StringViewLike const &t, size_type pos =
0u ) const noexcept;

This member function was added in C++17. Are there any intentions to
add it to __gnu_debug?

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

end of thread, other threads:[~2022-06-30  4:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24  7:45 string::find(string_view) is missing from <debug/string> Frederick Virchanza Gotham
2022-06-24 10:07 ` Jonathan Wakely
2022-06-30  4:36   ` François Dumont

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).