File: index.html

package info (click to toggle)
boost 1.33.1-10
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 100,948 kB
  • ctags: 145,103
  • sloc: cpp: 573,492; xml: 49,055; python: 15,626; ansic: 13,588; sh: 2,099; yacc: 858; makefile: 660; perl: 427; lex: 111; csh: 6
file content (82 lines) | stat: -rw-r--r-- 4,030 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<html>

<head>
<TITLE>The Boost Format library</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">

<table border="1" bgcolor="#007F7F" cellpadding="2">
  <tr>
    <td bgcolor="#FFFFFF"><img src="../../boost.png" alt="boost.png (6897 bytes)" width="277" height="86"></td>
    <td><a href="../../index.htm"><font face="Arial" color="#FFFFFF"><big>Home </big></font></a></td>
    <td><a href="../libraries.htm"><font face="Arial" color="#FFFFFF"><big>Libraries </big></font></a></td>
    <td><a href="../../people/people.htm"><font face="Arial" color="#FFFFFF"><big>People </big></font></a></td>
    <td><a href="../../more/faq.htm"><font face="Arial" color="#FFFFFF"><big>FAQ </big></font></a></td>
    <td><a href="../../more/index.htm"><font face="Arial" color="#FFFFFF"><big>More </big></font></a></td>
  </tr>
</table>

<h1>Boost Format library</h1>

<p>
The format library provides a class for formatting arguments according to a format-string, 
as does printf, but with two major differences :
<br>
<ul>
<li>format sends the arguments to an internal stream, and so is entirely type-safe and 
naturally supports all user-defined types.</li>
<li>The ellipsis (...) can not be used correctly in the strongly typed context of format,
and thus the function call with arbitrary arguments is replaced by successive calls to an 
<i>argument feeding</i> <b>operator%</b>
</li>
</ul>

</p>

<p>
<br>
You can find more Details in :
<ul>
  <li><a href="doc/format.html">Documentation</a> (HTML).</li>
  <li>Headers <ul>
                <li><a href="../../boost/format.hpp">format.hpp</a> : user frontend.</li>
                <li><a href="../../boost/format/format_fwd.hpp">format_fwd.hpp</a> 
                  : user forward declarations.</li>
                <li><a href="../../boost/format/format_class.hpp">
                  format_class.hpp</a> : the class interface</li>
                <li><a href="../../boost/format/format_implementation.hpp">
                    format_implementation.hpp</a>: implementation of the member functions</li>
                <li><a href="../../boost/format/feed_args.hpp">feed_args.hpp</a> 
                  : argument feeding helper functions</li>
                <li><a href="../../boost/format/free_funcs.hpp">free_funcs.hpp</a>
                  : free functions definitions</li>
                <li><a href="../../boost/format/parsing.hpp">parsing.hpp</a>
                  : code for parsing format-strings</li>
                <li><a href="../../boost/format/group.hpp">group.hpp</a>
                  : auxiliary struct used to group arguments and manipulators</li>
                <li><a href="../../boost/format/exceptions.hpp">exceptions.hpp</a>
                  : exceptions used by the library</li>
                <li><a href="../../boost/format/internals.hpp">internals.hpp</a>
                  : auxiliary structs stream_format_state and format_item</li>
              </ul>
            </li>
  <li> Sample programs <ul>
                <li>The program <A href="./example/sample_formats.cpp">sample_formats.cpp</A> 
                demonstrates simple uses of <B>format</B>. </li>
                <li><A href="./example/sample_new_features.cpp">sample_new_features.cpp</A> 
                  illustrates the few formatting features that were added to printf's syntax such 
                  as  simple positional directives, centered alignment, and 'tabulations'. </li>
                <li><A href="./example/sample_advanced.cpp">sample_advanced.cpp</A> 
                  demonstrates uses of advanced features, like reusing, and modifying, 
                  format objects, etc.. </li>
                <li>And <A href="./example/sample_userType.cpp">sample_userType.cpp</A> 
                  shows the behaviour of the <b>format</b> library on user-defined types.</li>
              </ul>
</li>
</ul>
Submitted by <a href="../../people/samuel_krempp.htm">Samuel Krempp</a>.</p>
</body>

</html>