ISO C++
Linktest should be ISO C++ only so it is fully compatible with all c++ compilers like f.ex. clang. Right now it cannot be compiled with clang++ std=c++17
. Also the code might break with newer versions of currently working compilers like g++.
g++ -std=c++17 -Wall
does not show these issues but adding -Wpedantic
does.
Edited by Max Holicki