Use of angle brackets around file names for include statements
elfring opened this issue · 3 comments
elfring commented
Would you like to replace any double quotes by angle brackets around file names for include statements?
chivee commented
i think it is convention to using double quotes for the user defined source flies, i cannot understand the necessary that using angle brackets instead.
elfring commented
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
…
- How do you think about to avoid "a duplicated file search" here?
- Would you like to restrict the searched directories for header files of your software?
chivee commented
hi elfring,
thanks a lot for your feedback, after the discussion with the team, we decide to keep the coding style. Nevertheless, we still learn a lot from you. thanks for your suggestion.