motivation.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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>Motivation - 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="./build.html"><img src="./images/prev.png" alt="Prev"></a>
  10. <a accesskey="u" href="./index.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="./motivation/exceptions.html"><img src="./images/next.png" alt="Next"></a></div><div id="content">
  12. <div class="titlepage"><div><div><h1 style="clear: both">Motivation</h1></div></div></div>
  13. <p>This section describes techniques currently used to report and handle failures
  14. in functions, it also shows why these techniques might be insufficient.</p>
  15. <p>If you just want to learn how to use Outcome library go straight to <a href="./tutorial.html">Tutorial
  16. section</a>.</p>
  17. <div class="notices note" style="background: url('images/note.png') top left no-repeat padding-box padding-box;">
  18. <div class="notices heading">note</div>
  19. <div class="notices message"><p>Motivation section of this documentation is not complete yet.</p>
  20. </div>
  21. </div>
  22. <ol class="children children-li"><li>
  23. <a href="./motivation/exceptions.html" >Exceptions</a>
  24. <p>Exceptions with their good and bad sides.</p><li>
  25. <a href="./motivation/errno.html" >errno</a>
  26. <p>errno with their good and bad sides.</p><li>
  27. <a href="./motivation/error_codes.html" >Error codes</a>
  28. <p>Error codes with their good and bad sides.</p><li>
  29. <a href="./motivation/std_error_code.html" >std::error_code</a>
  30. <p>Overview of std::error_code</p><li>
  31. <a href="./motivation/plug_error_code.html" >Plugging a library into std::error_code`</a>
  32. <p>Illustrates how you can hook into the <code>std::error_code</code> system from the Standard Library in order to work with your own set of error codes.</p><li>
  33. <a href="./motivation/plug_error_code2.html" >Plugging a library into boost::system::error_code</a>
  34. <p>Illustrates how you can hook into the <code>boost::system::error_code</code> system from Boost in order to work with your own set of error codes.</p><li>
  35. <a href="./motivation/narrow_contract.html" >Narrow contracts</a>
  36. <p>Describes narrow-contract functions that do not work for all input values, and advantage of using them.</p></li></ol>
  37. </div><p><small>Last revised: June 27, 2019 at 16:00:40 &#43;0100</small></p>
  38. <hr>
  39. <div class="spirit-nav">
  40. <a accesskey="p" href="./build.html"><img src="./images/prev.png" alt="Prev"></a>
  41. <a accesskey="u" href="./index.html"><img src="./images/up.png" alt="Up"></a>
  42. <a accesskey="h" href="./index.html"><img src="./images/home.png" alt="Home"></a><a accesskey="n" href="./motivation/exceptions.html"><img src="./images/next.png" alt="Next"></a></div></body>
  43. </html>