Я искал здесь похожие проблемы, но, похоже, ни одна из них не применима здесь и не предлагает решения, которое я ищу p>
Следующий код (
Код: Выделить всё
test.cppКод: Выделить всё
$ clang++ -std=c++17 test.cppКод: Выделить всё
#include
#include
#include
using namespace std;
int main(int argc, char** argv)
{
for (const auto& fit : filesystem::directory_iterator(string("tempdir")))
{
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79278786/linking-stdfilesystem-on-gcc-8-5-in-el8-container[/url]
Мобильная версия