decorator_enable_if.html 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  4. <title>enable_if (decorator)</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="../test_org_reference.html" title="Tests declaration and organization">
  9. <link rel="prev" href="decorator_enabled.html" title="enabled / disabled (decorator)">
  10. <link rel="next" href="decorator_fixture.html" title="fixture (decorator)">
  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="decorator_enabled.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../test_org_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="decorator_fixture.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.test_org_reference.decorator_enable_if"></a><a class="link" href="decorator_enable_if.html" title="enable_if (decorator)">enable_if
  28. (decorator)</a>
  29. </h4></div></div></div>
  30. <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">bool</span> <span class="identifier">Condition</span><span class="special">&gt;</span> <span class="identifier">enable_if</span><span class="special">();</span>
  31. </pre>
  32. <p>
  33. Sets the test unit's <a class="link" href="../../runtime_config/test_unit_filtering.html#ref_default_run_status"><span class="emphasis"><em>default
  34. run status</em></span></a> to <span class="emphasis"><em>true</em></span> or <span class="emphasis"><em>false</em></span>,
  35. depending on a compilation-time constant. See <a class="link" href="../../tests_organization/enabling.html" title="Enabling or disabling test unit execution">here</a>
  36. for more details.
  37. </p>
  38. </div>
  39. <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
  40. <td align="left"></td>
  41. <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2019 Boost.Test
  42. contributors<p>
  43. Distributed under the Boost Software License, Version 1.0. (See accompanying
  44. 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>)
  45. </p>
  46. </div></td>
  47. </tr></table>
  48. <hr>
  49. <div class="spirit-nav">
  50. <a accesskey="p" href="decorator_enabled.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../test_org_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="decorator_fixture.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
  51. </div>
  52. </body>
  53. </html>