Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/doc/html/boost_staticassert/test.html @ 29

Last change on this file since 29 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 5.4 KB
Line 
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4<title> Test Programs</title>
5<link rel="stylesheet" href="../boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
7<link rel="start" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
8<link rel="up" href="../boost_staticassert.html" title="Chapter 13. Boost.StaticAssert">
9<link rel="prev" href="how.html" title=" How it works">
10<link rel="next" href="../string_algo.html" title="Chapter 14. Boost String Algorithms Library">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%">
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
15<td align="center"><a href="../../../index.htm">Home</a></td>
16<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="../../../people/people.htm">People</a></td>
18<td align="center"><a href="../../../more/faq.htm">FAQ</a></td>
19<td align="center"><a href="../../../more/index.htm">More</a></td>
20</table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="how.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost_staticassert.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="../string_algo.html"><img src="../images/next.png" alt="Next"></a>
24</div>
25<div class="section" lang="en">
26<div class="titlepage"><div><div><h2 class="title" style="clear: both">
27<a name="boost_staticassert.test"></a> Test Programs</h2></div></div></div>
28<div class="informaltable">
29<h4>
30<a name="id1637155"></a>
31        <span class="table-title">Test programs provided with static_assert</span>
32      </h4>
33<table class="table">
34<colgroup>
35<col>
36<col>
37<col>
38</colgroup>
39<thead><tr>
40<th>Test Program</th>
41<th>Expected to Compile</th>
42<th>Description</th>
43</tr></thead>
44<tbody>
45<tr>
46<td><a href="../../../libs/static_assert/static_assert_test.cpp" target="_top">static_assert_test.cpp</a></td>
47<td>Yes</td>
48<td>Illustrates
49            usage, and should always compile, really just tests compiler compatibility.</td>
50</tr>
51<tr>
52<td><a href="../../../libs/static_assert/static_assert_example_1.cpp" target="_top">static_assert_example_1.cpp</a></td>
53<td>Platform
54            dependent.</td>
55<td>Namespace scope test program, may compile depending
56            upon the platform. </td>
57</tr>
58<tr>
59<td><a href="../../../libs/static_assert/static_assert_example_2.cpp" target="_top">static_assert_example_2.cpp</a></td>
60<td>Yes</td>
61<td>Function
62            scope test program. </td>
63</tr>
64<tr>
65<td><a href="../../../libs/static_assert/static_assert_example_3.cpp" target="_top">static_assert_example_3.cpp</a></td>
66<td>Yes</td>
67<td>Class
68            scope test program. </td>
69</tr>
70<tr>
71<td><a href="../../../libs/static_assert/static_assert_test_fail_1.cpp" target="_top">static_assert_test_fail_1.cpp</a></td>
72<td>No</td>
73<td>Illustrates
74            failure at namespace scope. </td>
75</tr>
76<tr>
77<td><a href="../../../libs/static_assert/static_assert_test_fail_2.cpp" target="_top">static_assert_test_fail_2.cpp</a></td>
78<td>No</td>
79<td>Illustrates
80            failure at non-template function scope. </td>
81</tr>
82<tr>
83<td><a href="../../../libs/static_assert/static_assert_test_fail_3.cpp" target="_top">static_assert_test_fail_3.cpp</a></td>
84<td>No</td>
85<td>Illustrates
86            failure at non-template class scope. </td>
87</tr>
88<tr>
89<td><a href="../../../libs/static_assert/static_assert_test_fail_4.cpp" target="_top">static_assert_test_fail_4.cpp</a></td>
90<td>No</td>
91<td>Illustrates
92            failure at non-template class scope. </td>
93</tr>
94<tr>
95<td><a href="../../../libs/static_assert/static_assert_test_fail_5.cpp" target="_top">static_assert_test_fail_5.cpp</a></td>
96<td>No</td>
97<td>Illustrates
98            failure at template class scope. </td>
99</tr>
100<tr>
101<td><a href="../../../libs/static_assert/static_assert_test_fail_6.cpp" target="_top">static_assert_test_fail_6.cpp</a></td>
102<td>No</td>
103<td>Illustrates
104            failure at template class member function scope. </td>
105</tr>
106<tr>
107<td><a href="../../../libs/static_assert/static_assert_test_fail_7.cpp" target="_top">static_assert_test_fail_7.cpp</a></td>
108<td>No</td>
109<td>Illustrates
110            failure of class scope example. </td>
111</tr>
112<tr>
113<td><a href="../../../libs/static_assert/static_assert_test_fail_8.cpp" target="_top">static_assert_test_fail_8.cpp</a></td>
114<td>No</td>
115<td>Illustrates
116            failure of function scope example. </td>
117</tr>
118<tr>
119<td><a href="../../../libs/static_assert/static_assert_test_fail_9.cpp" target="_top">static_assert_test_fail_9.cpp</a></td>
120<td>No</td>
121<td>Illustrates
122            failure of function scope example (part 2). </td>
123</tr>
124</tbody>
125</table>
126</div>
127</div>
128<table width="100%"><tr>
129<td align="left"></td>
130<td align="right"><small>Copyright © 2000, 2005 Steve Cleary and John Maddock</small></td>
131</tr></table>
132<hr>
133<div class="spirit-nav">
134<a accesskey="p" href="how.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost_staticassert.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="../string_algo.html"><img src="../images/next.png" alt="Next"></a>
135</div>
136</body>
137</html>
Note: See TracBrowser for help on using the repository browser.