memory_resource not found under xcode 12.4 and clang clang-1200.0.32.29

I am using xcode 12.4 and clang-1200.0.32.29 under macbook air M1(2020).
The header file memory_resource is not resolved when it is included.
Moreover when I use the experimental/memory_resource header file, the monotonic_buffer_resource cannot be resolved as well
Post not yet marked as solved Up vote post of getsoubl Down vote post of getsoubl
848 views

Replies

/Library/Developer/CommandLineTools/usr/include/c++/v1/experimental/memory_resource

  • Q1: Why is this still fenced off in the 'experimental' namespace? My understanding is that this facility officially merged into the mainstream with C++17. Q2: The file '/Library/Developer/CommandLineTools/usr/include/c++/v1/experimental/memory_resource' mentions 'monotonic_buffer_resource' in the synopsis, but does not appear to implement it. Does a more recent recent version of the Xcode command line tools provide it?

Add a Comment