Closed marioroy closed 4 months ago
Make sure you're using a compiler that supports C++17 (-std=c++17
); e.g. in my case:
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
then clang++ -std=c++17 -O3 set_partition.cpp
works without any issue.
Should be fixed on develop
.
I ran the bench.sh script. The c++ set_partition demonstration failed.