]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/assert/current_function.html
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / assert / current_function.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html>
3 <head>
4 <title>Boost: current_function.hpp documentation</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
6 </head>
7 <body bgcolor="white" style="MARGIN-LEFT: 5%; MARGIN-RIGHT: 5%">
8 <table border="0" width="100%">
9 <tr>
10 <td width="277"><a href="../../index.htm"> <img src="../../boost.png" alt="boost.png (6897 bytes)" width="277" height="86" border="0" /></a>
11 </td>
12 <td align="center">
13 <h1>current_function.hpp</h1>
14 </td>
15 </tr>
16 <tr>
17 <td colspan="2" height="64">&nbsp;</td>
18 </tr>
19 </table>
20 <p>
21 The header <code>&lt;boost/current_function.hpp&gt;</code> defines a single
22 macro, <code>BOOST_CURRENT_FUNCTION</code>, similar to the
23 C99 predefined identifier <code>__func__</code>.
24 </p>
25 <p><code>BOOST_CURRENT_FUNCTION</code> expands to a string literal containing
26 the (fully qualified, if possible) name of the enclosing function. If there is
27 no enclosing function, the behavior is undefined.</p>
28 <p>Some compilers do not provide a way to obtain the name of the current enclosing
29 function. On such compilers, <code>BOOST_CURRENT_FUNCTION</code> expands to
30 <code>&quot;(unknown)&quot;</code>.</p>
31 <hr />
32 <p>
33 <small>Copyright © 2002 by Peter Dimov. Distributed under the Boost Software License, Version
34 1.0. See accompanying file <a href="../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
35 copy at <a href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</a>.</small></p>
36 </body>
37 </html>