Open jcelerier opened 4 weeks ago
Looks like a clang/libstdc++ bug as std::get is not found.
Thanks for the report. I can't reproduce this issue with clang-17 and clang-18 in Ubuntu 24.04 with current develop version. Can you test it with the latest version and check if the issue is already solved?
Hm, this happens here in an up-to-date ArchLinux container, assuming boost_1_85_0 extracted in $PWD :
$ docker run -v $PWD:/src -it archlinux:latest
$ pacman -Sy
$ pacman -S clang
$ echo '#include <boost/container/flat_map.hpp>
int main() {
boost::container::flat_map<int, int> f;
f[0];
}' > foo.cpp
$ clang++ foo.cpp -std=c++23 -I /src/boost_1_85_0
Is there a single-command easy invocation to get current boost develop ? I'm not sure I want to clone every repo...
Not an easy way, AFAIK. However Container only depends on Assert, Config, Intrusive and Move. You can automate the download of dependencies of a single library as explained here, in the section "Individual Modules":
https://www.boost.io/doc/user-guide/getting-started.html
Another option is to wait a few weeks until the Boost 1.86 beta tar.gz is generated.
Repro:
The error: