I did a Lua script to extract the code examples and test then here robertoraggi/cplusplus#314 to test it's independent parser https://github.com/robertoraggi/cplusplus and other parsers as well like g++ and clang .
Around 5% of the examples fail (some are due to missing include files or the libstdc++ installed on my Ubuntu 18.04).
If this project doesn't have a script to test the code examples you can use/adapt it .
I did a
Luascript to extract the code examples and test then here robertoraggi/cplusplus#314 to test it's independent parser https://github.com/robertoraggi/cplusplus and other parsers as well likeg++andclang.Around 5% of the examples fail (some are due to missing include files or the libstdc++ installed on my Ubuntu 18.04).
If this project doesn't have a script to test the code examples you can use/adapt it .