]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <html> |
2 | ||
3 | <head> | |
4 | <meta http-equiv="Content-Language" content="en-us"> | |
5 | <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> | |
6 | <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> | |
7 | <meta name="ProgId" content="FrontPage.Editor.Document"> | |
8 | <title>Boost Conversion Library</title> | |
9 | <style> | |
10 | .copyright | |
11 | { | |
12 | color: #666666; | |
13 | font-size: small; | |
14 | } | |
15 | </style> | |
16 | </head> | |
17 | ||
18 | <body bgcolor="#FFFFFF" text="#000000"> | |
19 | ||
20 | <h1><img border="0" src="../../boost.png" align="center" width="277" height="86">Boost | |
21 | Conversion Library</h1> | |
22 | ||
23 | <p>The Conversion Library improves program safety and clarity by performing | |
24 | otherwise messy conversions. It includes cast-style function templates designed to complement the C++ | |
25 | Standard's built-in casts.</p> | |
26 | <p>To reduce coupling, particularly to standard library IOStreams, the Boost | |
27 | Conversion Library is | |
28 | supplied by several headers:</p> | |
29 | <ul> | |
30 | <li>The <a href="cast.htm">boost/polymorphic_cast.hpp and boost/polymorphic_pointer_cast.hpp</a> | |
31 | headers provide <b>polymorphic_cast<></b>, | |
32 | <b>polymorphic_downcast<></b> and <b>polymorphic_pointer_downcast<></b> to perform safe casting between | |
33 | polymorphic types.<br> | |
34 | </li> | |
35 | <li>The boost/implicit_cast.hpp header provides <b>implicit_cast<></b> | |
36 | to perform implicit casts only (no down-cast, no void*->T*, no U->T if T has only explicit constructors for U).<br> | |
37 | </li> | |
38 | <li>The <a href="../../doc/html/boost_lexical_cast.html">boost/lexical_cast</a> header provides <b>lexical_cast<></b> | |
39 | general literal text conversions, such as an <code>int</code> represented as | |
40 | a <code>string</code>, or vice-versa.</li> | |
41 | </ul> | |
42 | <hr> | |
43 | <p>Revised <!--webbot bot="Timestamp" S-Type="EDITED" | |
44 | S-Format="%d %B, %Y" startspan -->June 23, 2005<!--webbot bot="Timestamp" endspan i-checksum="30348" --> | |
45 | </p> | |
46 | <p class="copyright"> | |
47 | Copyright 2001 Beman Dawes. | |
48 | Distributed under the Boost Software License, Version 1.0. (See accompanying | |
49 | file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</a>) | |
50 | </p> | |
51 | </body> | |
52 | ||
53 | </html> |