Run C++ Insights in a docker container locally.
Build the docker container:
make
This will download the latest C++ Insights binary and create a docker container named cppinsights-trusty
.
cat <YOUR_CPP_FILE> | docker run --rm -i cppinsights-trusty /usr/bin/insights -stdin x.cpp -- -std=c++17
or
./run.sh <ABSOLUTE_PATH_TO_YOUR_CPP_FILE>