Hi,
I am using g++ version 7.5.0 on Linux Mint 19 Tara:
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
When I try to compile a source file which uses the Standard library
header <memory_resource> I get the following error:
main.cpp:7:10: fatal error: memory_resource: No such file or directory
As to my knowledge g++ version 7.5.0 supports C++17 and library
<memory_resource> is included since C++17. At least, this page tells
me that it has to be there:
https://gcc.gnu.org/onlinedocs/gcc-7.5.0/libstdc++/api/a01004_source.html
Even adding -std=gnu++17 throws the same error.
Can anybody please shed some light on this ?
Thanks
Regards
Harald