I need to use header for std::mdspan, but I don’t find this header file . How can do this?
this is my clang version here:
I tried the following:
sudo tee /etc/yum.repos.d/llvm.repo << EOF
[llvm]
name=LLVM for Fedora \$releasever
baseurl=https://apt.llvm.org/fedora/\$releasever/llvm/\$basearch/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://apt.llvm.org/llvm-snapshot.gpg.key
EOF
sudo dnf install libc++-devel libc++abi-devel
It show the info:(the option “–skip-unavailable” doesn’t help either)
I tried the following too:
create the file named mdspan in '/usr/include/c++/15/'path, the contents is
I’m not sure if I should ask this, but if someone could help me or give me some advice, I would really appreciate it.
(If there’s anything to add, you can @ me.)





