1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>Macro BOOST_LOG_UNIQUE_IDENTIFIER_NAME</title> 5<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="Chapter 1. Boost.Log v2"> 8<link rel="up" href="utilities.html#header.boost.log.utility.unique_identifier_name_hpp" title="Header <boost/log/utility/unique_identifier_name.hpp>"> 9<link rel="prev" href="boost/log/type_dispatcher/callback.html" title="Class template callback"> 10<link rel="next" href="BOOST_LOG_UNUSED_VARIABLE.html" title="Macro BOOST_LOG_UNUSED_VARIABLE"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td></tr></table> 14<hr> 15<div class="spirit-nav"> 16<a accesskey="p" href="boost/log/type_dispatcher/callback.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="utilities.html#header.boost.log.utility.unique_identifier_name_hpp"><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="BOOST_LOG_UNUSED_VARIABLE.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 17</div> 18<div class="refentry"> 19<a name="BOOST_LO_idm46079572479456"></a><div class="titlepage"></div> 20<div class="refnamediv"> 21<h2><span class="refentrytitle">Macro BOOST_LOG_UNIQUE_IDENTIFIER_NAME</span></h2> 22<p>BOOST_LOG_UNIQUE_IDENTIFIER_NAME</p> 23</div> 24<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> 25<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="utilities.html#header.boost.log.utility.unique_identifier_name_hpp" title="Header <boost/log/utility/unique_identifier_name.hpp>">boost/log/utility/unique_identifier_name.hpp</a>> 26 27</span>BOOST_LOG_UNIQUE_IDENTIFIER_NAME(prefix)</pre></div> 28<div class="refsect1"> 29<a name="idm44984847405072"></a><h2>Description</h2> 30<p>Constructs a unique (in the current file scope) token that can be used as a variable name. The name will contain a prefix passed in the <span class="emphasis"><em>prefix</em></span> argument. This allows to use the macro multiple times on a single line. </p> 31</div> 32</div> 33<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 34<td align="left"></td> 35<td align="right"><div class="copyright-footer">Copyright © 2007-2019 Andrey Semashev<p> 36 Distributed under the Boost Software License, Version 1.0. (See accompanying 37 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>). 38 </p> 39</div></td> 40</tr></table> 41<hr> 42<div class="spirit-nav"> 43<a accesskey="p" href="boost/log/type_dispatcher/callback.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="utilities.html#header.boost.log.utility.unique_identifier_name_hpp"><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="BOOST_LOG_UNUSED_VARIABLE.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 44</div> 45</body> 46</html> 47