]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/math/doc/html/math_toolkit/pol_tutorial/policy_usage.html
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / math / doc / html / math_toolkit / pol_tutorial / policy_usage.html
CommitLineData
7c673cae
FG
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4<title>So How are Policies Used Anyway?</title>
5<link rel="stylesheet" href="../../math.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
7<link rel="home" href="../../index.html" title="Math Toolkit 2.5.1">
8<link rel="up" href="../pol_tutorial.html" title="Policy Tutorial">
9<link rel="prev" href="policy_tut_defaults.html" title="Policies Have Sensible Defaults">
10<link rel="next" href="changing_policy_defaults.html" title="Changing the Policy Defaults">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="policy_tut_defaults.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../pol_tutorial.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="changing_policy_defaults.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="math_toolkit.pol_tutorial.policy_usage"></a><a class="link" href="policy_usage.html" title="So How are Policies Used Anyway?">So How are Policies
28 Used Anyway?</a>
29</h3></div></div></div>
30<p>
31 The details follow later, but basically policies can be set by either:
32 </p>
33<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
34<li class="listitem">
35 Defining some macros that change the default behaviour: <span class="bold"><strong>this
36 is the recommended method for setting installation-wide policies</strong></span>.
37 </li>
38<li class="listitem">
39 By instantiating a distribution object with an explicit policy: this
40 is mainly reserved for ad hoc policy changes.
41 </li>
42<li class="listitem">
43 By passing a policy to a special function as an optional final argument:
44 this is mainly reserved for ad hoc policy changes.
45 </li>
46<li class="listitem">
47 By using some helper macros to define a set of functions or distributions
48 in the current namespace that use a specific policy: <span class="bold"><strong>this
49 is the recommended method for setting policies on a project- or translation-unit-wide
50 basis</strong></span>.
51 </li>
52</ul></div>
53<p>
54 The following sections introduce these methods in more detail.
55 </p>
56</div>
57<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
58<td align="left"></td>
59<td align="right"><div class="copyright-footer">Copyright &#169; 2006-2010, 2012-2014 Nikhar Agrawal,
60 Anton Bikineev, Paul A. Bristow, Marco Guazzone, Christopher Kormanyos, Hubert
61 Holin, Bruno Lalande, John Maddock, Jeremy Murphy, Johan R&#229;de, Gautam Sewani,
62 Benjamin Sobotta, Thijs van den Berg, Daryle Walker and Xiaogang Zhang<p>
63 Distributed under the Boost Software License, Version 1.0. (See accompanying
64 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
65 </p>
66</div></td>
67</tr></table>
68<hr>
69<div class="spirit-nav">
70<a accesskey="p" href="policy_tut_defaults.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../pol_tutorial.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="changing_policy_defaults.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
71</div>
72</body>
73</html>