Added "why .hpp?" Q & A

[SVN r11140]
This commit is contained in:
Beman Dawes 2001-09-18 16:13:30 +00:00
parent c8b81f4e5f
commit 669b09a39f

View file

@ -142,9 +142,17 @@ care about. Boost list posters are
encouraged to include keywords in the subject like "thread",
&quot;review&quot;, and &quot;CVS&quot; 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 &quot;type&quot; 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>