Streams icon indicating copy to clipboard operation
Streams copied to clipboard

Use of angle brackets around file names for include statements

Open elfring opened this issue 10 years ago • 3 comments
trafficstars

Would you like to replace any double quotes by angle brackets around file names for include statements?

elfring avatar Apr 09 '15 10:04 elfring

I can't think of any particular reason why this would be necessary within the project. Is there some reason beyond aesthetics?

jscheiny avatar Apr 09 '15 18:04 jscheiny

I suggest to reconsider the consequences of the following wording from the section "16.2 Source file inclusion" in the standard specification for the programming language "C++".

…
The named source file is searched for in an implementation-defined manner. If this search is not supported, or if the search fails, the directive is reprocessed as if it read

#include <h-char-sequence> new-line
…

elfring avatar Apr 10 '15 09:04 elfring

If you believe this is an issue, please open a PR.

jscheiny avatar Apr 10 '15 22:04 jscheiny