Is this a valid line of C++? What is it supposed to mean?
#
What about this one:
# // a comment
Recent compilers seem to ignore it without errors nor warnings.
Does it "do nothing"? I have a header file where a "compatibility" section bombs out when compiled with g++ 7.4.0 in presence of such lines. It doesn't seem to trip up compilers that see this line excluded in an inactive #if
branch.
Note: gcc 7.4.0 on Debian Bionic (as of this writing) on Travis CI is tripped by such lines.