From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: hbusch@bnv-bamberg.de
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: g++ version 7.5.0 and library <memory_resource>
Date: Mon, 8 Jun 2020 15:34:13 +0100 [thread overview]
Message-ID: <CAH6eHdTadUbxZqJbuTK11r2w42Fjeo86yPb1ouSzHtSNpH2gHA@mail.gmail.com> (raw)
In-Reply-To: <20200608134412.Horde.mIJ7NQthkPEbn-W1QLIxrj9@webmail.bnv-bamberg.de>
On Mon, 8 Jun 2020 at 12:44, <hbusch@bnv-bamberg.de> wrote:
>
> You are right Jonathan, at least I do not get an error from the
> compiler complaining about <memory_resource> when I use
> <experimental/memory_resource>.
>
> However, the next hurdle for the compiler is the following statement:
>
> std::pmr::monotonic_buffer_resource ...
>
> So at least this seems not be be included.
It is included.
<experimental/memory_resource> is a different header from
<memory_resource>, and it provides different types and functions.
The contents of <experimental/memory_resource> as in namespace
std::experimental.
See https://en.cppreference.com/w/cpp/header/experimental/memory_resource
Maybe you should just update your compiler so you can use C++17.
next prev parent reply other threads:[~2020-06-08 14:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-07 19:10 hbusch
2020-06-07 19:18 ` Marc Glisse
2020-06-08 4:42 ` hbusch
2020-06-08 7:46 ` Jonathan Wakely
2020-06-08 11:44 ` hbusch
2020-06-08 14:34 ` Jonathan Wakely [this message]
2020-06-07 21:56 ` Jonathan Wakely
2020-06-08 4:40 ` hbusch
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=CAH6eHdTadUbxZqJbuTK11r2w42Fjeo86yPb1ouSzHtSNpH2gHA@mail.gmail.com \
--to=jwakely.gcc@gmail.com \
--cc=gcc-help@gcc.gnu.org \
--cc=hbusch@bnv-bamberg.de \
/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).