is_error_type_enum.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  3. <title>is_error_type_enum&lt;E, Enum&gt; - Boost.Outcome documentation</title>
  4. <link rel="stylesheet" href="../../css/boost.css" type="text/css">
  5. <meta name="generator" content="Hugo 0.52 with Boostdoc theme">
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0"/>
  7. <link rel="icon" href="../../images/favicon.ico" type="image/ico"/>
  8. <body><div class="spirit-nav">
  9. <a accesskey="p" href="../../reference/traits/is_error_type.html"><img src="../../images/prev.png" alt="Prev"></a>
  10. <a accesskey="u" href="../../reference/traits.html"><img src="../../images/up.png" alt="Up"></a>
  11. <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/traits/is_exception_ptr_available.html"><img src="../../images/next.png" alt="Next"></a></div><div id="content">
  12. <div class="titlepage"><div><div><h1 style="clear: both"><code>is_error_type_enum&lt;E, Enum&gt;</code></h1></div></div></div>
  13. <p>A customisable integral constant type true for <code>E</code> types constructible from <code>Enum</code> types which are to receive error throwing no-value policies</p>
  14. <p><em>Overridable</em>: By template specialisation into the <code>trait</code> namespace.</p>
  15. <p><em>Default</em>: False. Specialisations exist for:</p>
  16. <ul>
  17. <li><p><code>&lt;boost/outcome/boost_result.hpp&gt;</code></p>
  18. <ul>
  19. <li><code>boost::system::error_code</code> to <code>boost::system::is_error_condition_enum&lt;Enum&gt;::value</code>.</li>
  20. </ul></li>
  21. <li><p><code>&lt;boost/outcome/std_result.hpp&gt;</code></p>
  22. <ul>
  23. <li><code>std::error_code</code> to <code>std::is_error_condition_enum&lt;Enum&gt;::value</code>.</li>
  24. </ul></li>
  25. </ul>
  26. <p><em>Namespace</em>: <code>BOOST_OUTCOME_V2_NAMESPACE::trait</code></p>
  27. <p><em>Header</em>: <code>&lt;boost/outcome/trait.hpp&gt;</code></p>
  28. </div><p><small>Last revised: December 13, 2018 at 17:36:11 UTC</small></p>
  29. <hr>
  30. <div class="spirit-nav">
  31. <a accesskey="p" href="../../reference/traits/is_error_type.html"><img src="../../images/prev.png" alt="Prev"></a>
  32. <a accesskey="u" href="../../reference/traits.html"><img src="../../images/up.png" alt="Up"></a>
  33. <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/traits/is_exception_ptr_available.html"><img src="../../images/next.png" alt="Next"></a></div></body>
  34. </html>