Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/doc/html/boost_staticassert/test.html @ 12

Last change on this file since 12 was 12, checked in by landauf, 18 years ago

added boost

File size: 5.2 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.69.1">
7<link rel="start" href="../index.html" title="The Boost C++ Libraries">
8<link rel="up" href="../boost_staticassert.html" title="Chapter 10. Boost.StaticAssert">
9<link rel="prev" href="how.html" title=" How it works">
10<link rel="next" href="../string_algo.html" title="Chapter 11. 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.png (6897 bytes)" 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><h3 class="title">
27<a name="boost_staticassert.test"></a> Test Programs</h3></div></div></div>
28<div class="informaltable">
29<h4>
30<a name="id2742029"></a><span class="table-title">Test programs provided with static_assert</span>
31</h4>
32<table class="table">
33<colgroup>
34<col>
35<col>
36<col>
37</colgroup>
38<thead><tr>
39<th>Test Program</th>
40<th>Expected to Compile</th>
41<th>Description</th>
42</tr></thead>
43<tbody>
44<tr>
45<td><a href="../../../libs/static_assert/static_assert_test.cpp" target="_top">static_assert_test.cpp</a></td>
46<td>Yes</td>
47<td>Illustrates usage, and should always compile, really just tests compiler compatibility.</td>
48</tr>
49<tr>
50<td><a href="../../../libs/static_assert/static_assert_example_1.cpp" target="_top">static_assert_example_1.cpp</a></td>
51<td>Platform dependent.</td>
52<td>Namespace scope test program, may compile depending upon the platform. </td>
53</tr>
54<tr>
55<td><a href="../../../libs/static_assert/static_assert_example_2.cpp" target="_top">static_assert_example_2.cpp</a></td>
56<td>Yes</td>
57<td>Function scope test program. </td>
58</tr>
59<tr>
60<td><a href="../../../libs/static_assert/static_assert_example_3.cpp" target="_top">static_assert_example_3.cpp</a></td>
61<td>Yes</td>
62<td>Class scope test program. </td>
63</tr>
64<tr>
65<td><a href="../../../libs/static_assert/static_assert_test_fail_1.cpp" target="_top">static_assert_test_fail_1.cpp</a></td>
66<td>No</td>
67<td>Illustrates failure at namespace scope. </td>
68</tr>
69<tr>
70<td><a href="../../../libs/static_assert/static_assert_test_fail_2.cpp" target="_top">static_assert_test_fail_2.cpp</a></td>
71<td>No</td>
72<td>Illustrates failure at non-template function scope. </td>
73</tr>
74<tr>
75<td><a href="../../../libs/static_assert/static_assert_test_fail_3.cpp" target="_top">static_assert_test_fail_3.cpp</a></td>
76<td>No</td>
77<td>Illustrates failure at non-template class scope. </td>
78</tr>
79<tr>
80<td><a href="../../../libs/static_assert/static_assert_test_fail_4.cpp" target="_top">static_assert_test_fail_4.cpp</a></td>
81<td>No</td>
82<td>Illustrates failure at non-template class scope. </td>
83</tr>
84<tr>
85<td><a href="../../../libs/static_assert/static_assert_test_fail_5.cpp" target="_top">static_assert_test_fail_5.cpp</a></td>
86<td>No</td>
87<td>Illustrates failure at template class scope. </td>
88</tr>
89<tr>
90<td><a href="../../../libs/static_assert/static_assert_test_fail_6.cpp" target="_top">static_assert_test_fail_6.cpp</a></td>
91<td>No</td>
92<td>Illustrates failure at template class member function scope. </td>
93</tr>
94<tr>
95<td><a href="../../../libs/static_assert/static_assert_test_fail_7.cpp" target="_top">static_assert_test_fail_7.cpp</a></td>
96<td>No</td>
97<td>Illustrates failure of class scope example. </td>
98</tr>
99<tr>
100<td><a href="../../../libs/static_assert/static_assert_test_fail_8.cpp" target="_top">static_assert_test_fail_8.cpp</a></td>
101<td>No</td>
102<td>Illustrates failure of function scope example. </td>
103</tr>
104<tr>
105<td><a href="../../../libs/static_assert/static_assert_test_fail_9.cpp" target="_top">static_assert_test_fail_9.cpp</a></td>
106<td>No</td>
107<td>Illustrates failure of function scope example (part 2). </td>
108</tr>
109</tbody>
110</table>
111</div>
112</div>
113<table width="100%"><tr>
114<td align="left"></td>
115<td align="right"><small>Copyright © 2000, 2005 Steve Cleary and John Maddock</small></td>
116</tr></table>
117<hr>
118<div class="spirit-nav">
119<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>
120</div>
121</body>
122</html>
Note: See TracBrowser for help on using the repository browser.