public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
From: Frederick Virchanza Gotham <cauldwell.thomas@gmail.com>
To: "libstdc++" <libstdc++@gcc.gnu.org>
Subject: string::find(string_view) is missing from <debug/string>
Date: Fri, 24 Jun 2022 08:45:18 +0100	[thread overview]
Message-ID: <CALtZhhOK9REUo-ZQgBF1E+tv7vJBOsxjm+nyQuDhEM28A+4oRg@mail.gmail.com> (raw)

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?

             reply	other threads:[~2022-06-24  7:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24  7:45 Frederick Virchanza Gotham [this message]
2022-06-24 10:07 ` Jonathan Wakely
2022-06-30  4:36   ` François Dumont

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALtZhhOK9REUo-ZQgBF1E+tv7vJBOsxjm+nyQuDhEM28A+4oRg@mail.gmail.com \
    --to=cauldwell.thomas@gmail.com \
    --cc=libstdc++@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).