mirror of
https://github.com/boostorg/boost.git
synced 2025-04-08 06:43:09 +00:00
Added "why .hpp?" Q & A
[SVN r11140]
This commit is contained in:
parent
c8b81f4e5f
commit
669b09a39f
1 changed files with 9 additions and 1 deletions
10
more/faq.htm
10
more/faq.htm
|
@ -142,9 +142,17 @@ care about. Boost list posters are
|
|||
encouraged to include keywords in the subject like "thread",
|
||||
"review", and "CVS" to aid message filtering.</p>
|
||||
|
||||
<p><b>Why do Boost headers have a .hpp suffix rather than .h or none at all?</b>
|
||||
File extensions communicate the "type" of the file, both to humans and
|
||||
to computer programs. The '.h' extension is used for C header files, and
|
||||
therefore communicates the wrong thing about C++ header files. Using no
|
||||
extension communicates nothing and forces inspection of file contents to
|
||||
determine type. Using '.hpp' unambiguously identifies it as C++ header file, and
|
||||
works well in actual practice. (Rainer Deyke)</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>Revised <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->30 July, 2001<!--webbot bot="Timestamp" endspan i-checksum="21063" -->
|
||||
<p>Revised <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->18 September, 2001<!--webbot bot="Timestamp" endspan i-checksum="39344" -->
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue