auto foo = "You're using g++!";
auto compiler_detector = [foo](auto foo) { std::puts(foo); };
compiler_detector("You're using clang++!");
clang++ 3.6.0 and newer print out "You're using clang++!" and warn about the capture foo
being unused.
g++ 4.9.0 and newer print out "You're using g++!" and warn about the parameter foo
being unused.
What compiler is more accurately following the C++ Standard here?