1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>report_memory_leaks_to</title> 5<link rel="stylesheet" href="../../../boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../../index.html" title="Boost.Test"> 8<link rel="up" href="../rt_param_reference.html" title="Runtime parameters reference"> 9<link rel="prev" href="report_level.html" title="report_level"> 10<link rel="next" href="report_sink.html" title="report_sink"> 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="report_level.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../rt_param_reference.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="report_sink.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h4 class="title"> 27<a name="boost_test.utf_reference.rt_param_reference.report_memory_leaks_to"></a><a class="link" href="report_memory_leaks_to.html" title="report_memory_leaks_to"><code class="computeroutput"><span class="identifier">report_memory_leaks_to</span></code></a> 28</h4></div></div></div> 29<p> 30 Parameter <span class="emphasis"><em>report_memory_leaks_to</em></span> allows to specify 31 a file where to report memory leaks to. The parameter does not have default 32 value. If it is not specified, memory leaks (if any) are reported to the 33 standard error stream. 34 </p> 35<h5> 36<a name="boost_test.utf_reference.rt_param_reference.report_memory_leaks_to.h0"></a> 37 <span class="phrase"><a name="boost_test.utf_reference.rt_param_reference.report_memory_leaks_to.acceptable_values"></a></span><a class="link" href="report_memory_leaks_to.html#boost_test.utf_reference.rt_param_reference.report_memory_leaks_to.acceptable_values">Acceptable 38 values</a> 39 </h5> 40<p> 41 Arbitrary file name <a class="link" href="../rt_param_reference.html#regular_param_value">string</a>. 42 </p> 43<h5> 44<a name="boost_test.utf_reference.rt_param_reference.report_memory_leaks_to.h1"></a> 45 <span class="phrase"><a name="boost_test.utf_reference.rt_param_reference.report_memory_leaks_to.command_line_syntax"></a></span><a class="link" href="report_memory_leaks_to.html#boost_test.utf_reference.rt_param_reference.report_memory_leaks_to.command_line_syntax">Command 46 line syntax</a> 47 </h5> 48<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> 49 <code class="computeroutput"><span class="special">--</span><span class="identifier">report_memory_leaks_to</span><span class="special">=<</span><span class="identifier">file</span> 50 <span class="identifier">name</span><span class="special">></span></code> 51 </li></ul></div> 52<h5> 53<a name="boost_test.utf_reference.rt_param_reference.report_memory_leaks_to.h2"></a> 54 <span class="phrase"><a name="boost_test.utf_reference.rt_param_reference.report_memory_leaks_to.environment_variable"></a></span><a class="link" href="report_memory_leaks_to.html#boost_test.utf_reference.rt_param_reference.report_memory_leaks_to.environment_variable">Environment 55 variable</a> 56 </h5> 57<pre class="programlisting"><span class="identifier">BOOST_TEST_REPORT_MEMORY_LEAKS_TO</span> 58</pre> 59</div> 60<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 61<td align="left"></td> 62<td align="right"><div class="copyright-footer">Copyright © 2001-2020 Boost.Test contributors<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="report_level.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../rt_param_reference.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="report_sink.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> 71</div> 72</body> 73</html> 74