time_t_timer.cpp.html 71.7 KB
<!DOCTYPE html>
<html lang="en" dir="ltr"
    xmlns:dc="http://purl.org/dc/terms/">
<head>
    <meta charset="utf-8" />
    <meta name="generator" content="diff2html.py (http://git.droids-corp.org/gitweb/?p=diff2html)" />
    <!--meta name="author" content="Fill in" /-->
    <title>HTML Diff timers/time_t_timer.cpp</title>
    <link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEXAAAAAgAD///+K/HwIAAAAJUlEQVQI12NYBQQM2IgGBQ4mCIEQW7oyK4phampkGIQAc1G1AQCRxCNbyW92oQAAAABJRU5ErkJggg==" type="image/png" />
    <meta property="dc:language" content="en" />
    <!--meta property="dc:date" content="" /-->
    <meta property="dc:modified" content="2020-12-26T12:54:13.409008+01:00" />
    <meta name="description" content="File comparison" />
    <meta property="dc:abstract" content="File comparison" />
    <style>
        table { border:0px; border-collapse:collapse; width: 100%; font-size:0.75em; font-family: Lucida Console, monospace }
        td.line { color:#8080a0 }
        th { background: black; color: white }
        tr.diffunmodified td { background: #D0D0E0 }
        tr.diffhunk td { background: #A0A0A0 }
        tr.diffadded td { background: #CCFFCC }
        tr.diffdeleted td { background: #FFCCCC }
        tr.diffchanged td { background: #FFFFA0 }
        span.diffchanged2 { background: #E0C880 }
        span.diffponct { color: #B08080 }
        tr.diffmisc td {}
        tr.diffseparator td {}
    </style>
</head>
<body>

    <table class="diff">
<tr><th colspan='2'>src/&#8203;examples/&#8203;cpp03/&#8203;timers/&#8203;time_t_timer.&#8203;cpp</th><th colspan='2'>src/&#8203;examples/&#8203;cpp11/&#8203;timers/&#8203;time_t_timer.&#8203;cpp</th></tr>
<tr class="diffhunk"><td colspan="2">&#8942;</td><td colspan="2">&#8942;</td></tr><tr class="diffunmodified"><td class="diffline">1 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">1 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">2 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;time_t_timer.&#8203;cpp</td><td class="diffline">2 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;time_t_timer.&#8203;cpp</td></tr>
<tr class="diffunmodified"><td class="diffline">3 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;~~~~~~~~~~~~~~~~</td><td class="diffline">3 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;~~~~~~~~~~~~~~~~</td></tr>
<tr class="diffunmodified"><td class="diffline">4 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">4 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">5 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Copyright<span class="diffponct">&middot;</span>&#8203;(c)&#8203;<span class="diffponct">&middot;</span>&#8203;2003-&#8203;2020<span class="diffponct">&middot;</span>&#8203;Christopher<span class="diffponct">&middot;</span>&#8203;M.&#8203;<span class="diffponct">&middot;</span>&#8203;Kohlhoff<span class="diffponct">&middot;</span>&#8203;(chris<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;kohlhoff<span class="diffponct">&middot;</span>&#8203;dot<span class="diffponct">&middot;</span>&#8203;com)&#8203;</td><td class="diffline">5 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Copyright<span class="diffponct">&middot;</span>&#8203;(c)&#8203;<span class="diffponct">&middot;</span>&#8203;2003-&#8203;2020<span class="diffponct">&middot;</span>&#8203;Christopher<span class="diffponct">&middot;</span>&#8203;M.&#8203;<span class="diffponct">&middot;</span>&#8203;Kohlhoff<span class="diffponct">&middot;</span>&#8203;(chris<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;kohlhoff<span class="diffponct">&middot;</span>&#8203;dot<span class="diffponct">&middot;</span>&#8203;com)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">6 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">6 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">7 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Distributed<span class="diffponct">&middot;</span>&#8203;under<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;Boost<span class="diffponct">&middot;</span>&#8203;Software<span class="diffponct">&middot;</span>&#8203;License,&#8203;<span class="diffponct">&middot;</span>&#8203;Version<span class="diffponct">&middot;</span>&#8203;1.&#8203;0.&#8203;<span class="diffponct">&middot;</span>&#8203;(See<span class="diffponct">&middot;</span>&#8203;accompanying</td><td class="diffline">7 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Distributed<span class="diffponct">&middot;</span>&#8203;under<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;Boost<span class="diffponct">&middot;</span>&#8203;Software<span class="diffponct">&middot;</span>&#8203;License,&#8203;<span class="diffponct">&middot;</span>&#8203;Version<span class="diffponct">&middot;</span>&#8203;1.&#8203;0.&#8203;<span class="diffponct">&middot;</span>&#8203;(See<span class="diffponct">&middot;</span>&#8203;accompanying</td></tr>
<tr class="diffunmodified"><td class="diffline">8 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;LICENSE_1_0.&#8203;txt<span class="diffponct">&middot;</span>&#8203;or<span class="diffponct">&middot;</span>&#8203;copy<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;http:&#8203;/&#8203;/&#8203;www.&#8203;boost.&#8203;org/&#8203;LICENSE_1_0.&#8203;txt)&#8203;</td><td class="diffline">8 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;LICENSE_1_0.&#8203;txt<span class="diffponct">&middot;</span>&#8203;or<span class="diffponct">&middot;</span>&#8203;copy<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;http:&#8203;/&#8203;/&#8203;www.&#8203;boost.&#8203;org/&#8203;LICENSE_1_0.&#8203;txt)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">9 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">9 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">10 </td><td class="diffpresent"></td><td class="diffline">10 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">11 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;asio.&#8203;hpp&gt;</td><td class="diffline">11 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;asio.&#8203;hpp&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">12 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;ctime&gt;</td><td class="diffline">12 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;ctime&gt;</td></tr>
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">13 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;chrono&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">13 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;iostream&gt;</td><td class="diffline">14 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;iostream&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">14 </td><td class="diffpresent"></td><td class="diffline">15 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">15 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;A<span class="diffponct">&middot;</span>&#8203;custom<span class="diffponct">&middot;</span>&#8203;implementation<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;Clock<span class="diffponct">&middot;</span>&#8203;concept<span class="diffponct">&middot;</span>&#8203;from<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;standard<span class="diffponct">&middot;</span>&#8203;C++<span class="diffponct">&middot;</span>&#8203;library.&#8203;</td><td class="diffline">16 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;A<span class="diffponct">&middot;</span>&#8203;custom<span class="diffponct">&middot;</span>&#8203;implementation<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;Clock<span class="diffponct">&middot;</span>&#8203;concept<span class="diffponct">&middot;</span>&#8203;from<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;standard<span class="diffponct">&middot;</span>&#8203;C++<span class="diffponct">&middot;</span>&#8203;library.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">16 </td><td class="diffpresent">struct<span class="diffponct">&middot;</span>&#8203;time_t_clock</td><td class="diffline">17 </td><td class="diffpresent">struct<span class="diffponct">&middot;</span>&#8203;time_t_clock</td></tr>
<tr class="diffunmodified"><td class="diffline">17 </td><td class="diffpresent">{</td><td class="diffline">18 </td><td class="diffpresent">{</td></tr>
<tr class="diffunmodified"><td class="diffline">18 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;duration<span class="diffponct">&middot;</span>&#8203;type.&#8203;</td><td class="diffline">19 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;duration<span class="diffponct">&middot;</span>&#8203;type.&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">19 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;typedef<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;steady_clock:&#8203;:&#8203;duration<span class="diffponct">&middot;</span>&#8203;duration;&#8203;</td><td class="diffline">20 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;typedef<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;steady_clock:&#8203;:&#8203;duration<span class="diffponct">&middot;</span>&#8203;duration;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">20 </td><td class="diffpresent"></td><td class="diffline">21 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">21 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;duration's<span class="diffponct">&middot;</span>&#8203;underlying<span class="diffponct">&middot;</span>&#8203;arithmetic<span class="diffponct">&middot;</span>&#8203;representation.&#8203;</td><td class="diffline">22 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;duration's<span class="diffponct">&middot;</span>&#8203;underlying<span class="diffponct">&middot;</span>&#8203;arithmetic<span class="diffponct">&middot;</span>&#8203;representation.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">22 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;typedef<span class="diffponct">&middot;</span>&#8203;duration:&#8203;:&#8203;rep<span class="diffponct">&middot;</span>&#8203;rep;&#8203;</td><td class="diffline">23 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;typedef<span class="diffponct">&middot;</span>&#8203;duration:&#8203;:&#8203;rep<span class="diffponct">&middot;</span>&#8203;rep;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">23 </td><td class="diffpresent"></td><td class="diffline">24 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">24 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;ratio<span class="diffponct">&middot;</span>&#8203;representing<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;duration's<span class="diffponct">&middot;</span>&#8203;tick<span class="diffponct">&middot;</span>&#8203;period.&#8203;</td><td class="diffline">25 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;ratio<span class="diffponct">&middot;</span>&#8203;representing<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;duration's<span class="diffponct">&middot;</span>&#8203;tick<span class="diffponct">&middot;</span>&#8203;period.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">25 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;typedef<span class="diffponct">&middot;</span>&#8203;duration:&#8203;:&#8203;period<span class="diffponct">&middot;</span>&#8203;period;&#8203;</td><td class="diffline">26 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;typedef<span class="diffponct">&middot;</span>&#8203;duration:&#8203;:&#8203;period<span class="diffponct">&middot;</span>&#8203;period;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">26 </td><td class="diffpresent"></td><td class="diffline">27 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">27 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;An<span class="diffponct">&middot;</span>&#8203;absolute<span class="diffponct">&middot;</span>&#8203;time<span class="diffponct">&middot;</span>&#8203;point<span class="diffponct">&middot;</span>&#8203;represented<span class="diffponct">&middot;</span>&#8203;using<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;clock.&#8203;</td><td class="diffline">28 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;An<span class="diffponct">&middot;</span>&#8203;absolute<span class="diffponct">&middot;</span>&#8203;time<span class="diffponct">&middot;</span>&#8203;point<span class="diffponct">&middot;</span>&#8203;represented<span class="diffponct">&middot;</span>&#8203;using<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;clock.&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">28 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;typedef<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;time_point&lt;time_t_clo&#8203;ck&gt;<span class="diffponct">&middot;</span>&#8203;time_point;&#8203;</td><td class="diffline">29 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;typedef<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;time_point&lt;time_t_clo&#8203;ck&gt;<span class="diffponct">&middot;</span>&#8203;time_point;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">29 </td><td class="diffpresent"></td><td class="diffline">30 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">30 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;clock<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;not<span class="diffponct">&middot;</span>&#8203;monotonically<span class="diffponct">&middot;</span>&#8203;increasing.&#8203;</td><td class="diffline">31 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;clock<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;not<span class="diffponct">&middot;</span>&#8203;monotonically<span class="diffponct">&middot;</span>&#8203;increasing.&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">31 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;static<span class="diffponct">&middot;</span>&#8203;const<span class="diffponct">&middot;</span>&#8203;bool<span class="diffponct">&middot;</span>&#8203;is_steady<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;false;&#8203;</td><td class="diffline">32 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;static<span class="diffponct">&middot;</span>&#8203;const<span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">p</span><span class="diffchanged2">r</span><span class="diffponct">&middot;</span>&#8203;bool<span class="diffponct">&middot;</span>&#8203;is_steady<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;false;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">32 </td><td class="diffpresent"></td><td class="diffline">33 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">33 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Get<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;current<span class="diffponct">&middot;</span>&#8203;time.&#8203;</td><td class="diffline">34 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Get<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;current<span class="diffponct">&middot;</span>&#8203;time.&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">34 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;static<span class="diffponct">&middot;</span>&#8203;time_point<span class="diffponct">&middot;</span>&#8203;now()&#8203;</td><td class="diffline">35 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;static<span class="diffponct">&middot;</span>&#8203;time_point<span class="diffponct">&middot;</span>&#8203;now()&#8203;<span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">p</span><span class="diffchanged2">t</span></td></tr>
<tr class="diffunmodified"><td class="diffline">35 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">36 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffchanged"><td class="diffline">36 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;time_point()&#8203;<span class="diffponct">&middot;</span>&#8203;+<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(std:&#8203;:&#8203;time(0)&#8203;)&#8203;;&#8203;</td><td class="diffline">37 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;time_point()&#8203;<span class="diffponct">&middot;</span>&#8203;+<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(std:&#8203;:&#8203;time(0)&#8203;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">37 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">38 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">38 </td><td class="diffpresent">};&#8203;</td><td class="diffline">39 </td><td class="diffpresent">};&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">39 </td><td class="diffpresent"></td><td class="diffline">40 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">40 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;basic_waitable_timer<span class="diffponct">&middot;</span>&#8203;template<span class="diffponct">&middot;</span>&#8203;accepts<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;optional<span class="diffponct">&middot;</span>&#8203;WaitTraits</td><td class="diffline">41 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;basic_waitable_timer<span class="diffponct">&middot;</span>&#8203;template<span class="diffponct">&middot;</span>&#8203;accepts<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;optional<span class="diffponct">&middot;</span>&#8203;WaitTraits</td></tr>
<tr class="diffunmodified"><td class="diffline">41 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;template<span class="diffponct">&middot;</span>&#8203;parameter.&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;underlying<span class="diffponct">&middot;</span>&#8203;time_t<span class="diffponct">&middot;</span>&#8203;clock<span class="diffponct">&middot;</span>&#8203;has<span class="diffponct">&middot;</span>&#8203;one-&#8203;second<span class="diffponct">&middot;</span>&#8203;granularity,&#8203;</td><td class="diffline">42 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;template<span class="diffponct">&middot;</span>&#8203;parameter.&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;underlying<span class="diffponct">&middot;</span>&#8203;time_t<span class="diffponct">&middot;</span>&#8203;clock<span class="diffponct">&middot;</span>&#8203;has<span class="diffponct">&middot;</span>&#8203;one-&#8203;second<span class="diffponct">&middot;</span>&#8203;granularity,&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">42 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;so<span class="diffponct">&middot;</span>&#8203;these<span class="diffponct">&middot;</span>&#8203;traits<span class="diffponct">&middot;</span>&#8203;may<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;customised<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;reduce<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;latency<span class="diffponct">&middot;</span>&#8203;between<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;clock</td><td class="diffline">43 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;so<span class="diffponct">&middot;</span>&#8203;these<span class="diffponct">&middot;</span>&#8203;traits<span class="diffponct">&middot;</span>&#8203;may<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;customised<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;reduce<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;latency<span class="diffponct">&middot;</span>&#8203;between<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;clock</td></tr>
<tr class="diffunmodified"><td class="diffline">43 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;ticking<span class="diffponct">&middot;</span>&#8203;over<span class="diffponct">&middot;</span>&#8203;and<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;wait<span class="diffponct">&middot;</span>&#8203;operation's<span class="diffponct">&middot;</span>&#8203;completion.&#8203;<span class="diffponct">&middot;</span>&#8203;When<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;timeout<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;near</td><td class="diffline">44 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;ticking<span class="diffponct">&middot;</span>&#8203;over<span class="diffponct">&middot;</span>&#8203;and<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;wait<span class="diffponct">&middot;</span>&#8203;operation's<span class="diffponct">&middot;</span>&#8203;completion.&#8203;<span class="diffponct">&middot;</span>&#8203;When<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;timeout<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;near</td></tr>
<tr class="diffunmodified"><td class="diffline">44 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;(less<span class="diffponct">&middot;</span>&#8203;than<span class="diffponct">&middot;</span>&#8203;one<span class="diffponct">&middot;</span>&#8203;second<span class="diffponct">&middot;</span>&#8203;away)&#8203;<span class="diffponct">&middot;</span>&#8203;we<span class="diffponct">&middot;</span>&#8203;poll<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;clock<span class="diffponct">&middot;</span>&#8203;more<span class="diffponct">&middot;</span>&#8203;frequently<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;detect<span class="diffponct">&middot;</span>&#8203;the</td><td class="diffline">45 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;(less<span class="diffponct">&middot;</span>&#8203;than<span class="diffponct">&middot;</span>&#8203;one<span class="diffponct">&middot;</span>&#8203;second<span class="diffponct">&middot;</span>&#8203;away)&#8203;<span class="diffponct">&middot;</span>&#8203;we<span class="diffponct">&middot;</span>&#8203;poll<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;clock<span class="diffponct">&middot;</span>&#8203;more<span class="diffponct">&middot;</span>&#8203;frequently<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;detect<span class="diffponct">&middot;</span>&#8203;the</td></tr>
<tr class="diffunmodified"><td class="diffline">45 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;time<span class="diffponct">&middot;</span>&#8203;change<span class="diffponct">&middot;</span>&#8203;closer<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;when<span class="diffponct">&middot;</span>&#8203;it<span class="diffponct">&middot;</span>&#8203;occurs.&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;user<span class="diffponct">&middot;</span>&#8203;can<span class="diffponct">&middot;</span>&#8203;select<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;appropriate</td><td class="diffline">46 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;time<span class="diffponct">&middot;</span>&#8203;change<span class="diffponct">&middot;</span>&#8203;closer<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;when<span class="diffponct">&middot;</span>&#8203;it<span class="diffponct">&middot;</span>&#8203;occurs.&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;user<span class="diffponct">&middot;</span>&#8203;can<span class="diffponct">&middot;</span>&#8203;select<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;appropriate</td></tr>
<tr class="diffunmodified"><td class="diffline">46 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;trade<span class="diffponct">&middot;</span>&#8203;off<span class="diffponct">&middot;</span>&#8203;between<span class="diffponct">&middot;</span>&#8203;accuracy<span class="diffponct">&middot;</span>&#8203;and<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;increased<span class="diffponct">&middot;</span>&#8203;CPU<span class="diffponct">&middot;</span>&#8203;cost<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;polling.&#8203;<span class="diffponct">&middot;</span>&#8203;In<span class="diffponct">&middot;</span>&#8203;extreme</td><td class="diffline">47 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;trade<span class="diffponct">&middot;</span>&#8203;off<span class="diffponct">&middot;</span>&#8203;between<span class="diffponct">&middot;</span>&#8203;accuracy<span class="diffponct">&middot;</span>&#8203;and<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;increased<span class="diffponct">&middot;</span>&#8203;CPU<span class="diffponct">&middot;</span>&#8203;cost<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;polling.&#8203;<span class="diffponct">&middot;</span>&#8203;In<span class="diffponct">&middot;</span>&#8203;extreme</td></tr>
<tr class="diffunmodified"><td class="diffline">47 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;cases,&#8203;<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;zero<span class="diffponct">&middot;</span>&#8203;duration<span class="diffponct">&middot;</span>&#8203;may<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;returned<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;make<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;timers<span class="diffponct">&middot;</span>&#8203;as<span class="diffponct">&middot;</span>&#8203;accurate<span class="diffponct">&middot;</span>&#8203;as</td><td class="diffline">48 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;cases,&#8203;<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;zero<span class="diffponct">&middot;</span>&#8203;duration<span class="diffponct">&middot;</span>&#8203;may<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;returned<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;make<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;timers<span class="diffponct">&middot;</span>&#8203;as<span class="diffponct">&middot;</span>&#8203;accurate<span class="diffponct">&middot;</span>&#8203;as</td></tr>
<tr class="diffunmodified"><td class="diffline">48 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;possible,&#8203;<span class="diffponct">&middot;</span>&#8203;albeit<span class="diffponct">&middot;</span>&#8203;with<span class="diffponct">&middot;</span>&#8203;100%<span class="diffponct">&middot;</span>&#8203;CPU<span class="diffponct">&middot;</span>&#8203;usage.&#8203;</td><td class="diffline">49 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;possible,&#8203;<span class="diffponct">&middot;</span>&#8203;albeit<span class="diffponct">&middot;</span>&#8203;with<span class="diffponct">&middot;</span>&#8203;100%<span class="diffponct">&middot;</span>&#8203;CPU<span class="diffponct">&middot;</span>&#8203;usage.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">49 </td><td class="diffpresent">struct<span class="diffponct">&middot;</span>&#8203;time_t_wait_traits</td><td class="diffline">50 </td><td class="diffpresent">struct<span class="diffponct">&middot;</span>&#8203;time_t_wait_traits</td></tr>
<tr class="diffunmodified"><td class="diffline">50 </td><td class="diffpresent">{</td><td class="diffline">51 </td><td class="diffpresent">{</td></tr>
<tr class="diffunmodified"><td class="diffline">51 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Determine<span class="diffponct">&middot;</span>&#8203;how<span class="diffponct">&middot;</span>&#8203;long<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;clock<span class="diffponct">&middot;</span>&#8203;should<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;next<span class="diffponct">&middot;</span>&#8203;polled<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;determine</td><td class="diffline">52 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Determine<span class="diffponct">&middot;</span>&#8203;how<span class="diffponct">&middot;</span>&#8203;long<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;clock<span class="diffponct">&middot;</span>&#8203;should<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;next<span class="diffponct">&middot;</span>&#8203;polled<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;determine</td></tr>
<tr class="diffunmodified"><td class="diffline">52 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;whether<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;duration<span class="diffponct">&middot;</span>&#8203;has<span class="diffponct">&middot;</span>&#8203;elapsed.&#8203;</td><td class="diffline">53 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;whether<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;duration<span class="diffponct">&middot;</span>&#8203;has<span class="diffponct">&middot;</span>&#8203;elapsed.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">53 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;static<span class="diffponct">&middot;</span>&#8203;time_t_clock:&#8203;:&#8203;duration<span class="diffponct">&middot;</span>&#8203;to_wait_duration(</td><td class="diffline">54 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;static<span class="diffponct">&middot;</span>&#8203;time_t_clock:&#8203;:&#8203;duration<span class="diffponct">&middot;</span>&#8203;to_wait_duration(</td></tr>
<tr class="diffunmodified"><td class="diffline">54 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;const<span class="diffponct">&middot;</span>&#8203;time_t_clock:&#8203;:&#8203;duration&amp;<span class="diffponct">&middot;</span>&#8203;d)&#8203;</td><td class="diffline">55 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;const<span class="diffponct">&middot;</span>&#8203;time_t_clock:&#8203;:&#8203;duration&amp;<span class="diffponct">&middot;</span>&#8203;d)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">55 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">56 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffchanged"><td class="diffline">56 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(d<span class="diffponct">&middot;</span>&#8203;&gt;<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(1)&#8203;)&#8203;</td><td class="diffline">57 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(d<span class="diffponct">&middot;</span>&#8203;&gt;<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(1)&#8203;)&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">57 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;d<span class="diffponct">&middot;</span>&#8203;-&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(1)&#8203;;&#8203;</td><td class="diffline">58 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;d<span class="diffponct">&middot;</span>&#8203;-&#8203;<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(1)&#8203;;&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">58 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;else<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(d<span class="diffponct">&middot;</span>&#8203;&gt;<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(0)&#8203;)&#8203;</td><td class="diffline">59 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;else<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(d<span class="diffponct">&middot;</span>&#8203;&gt;<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(0)&#8203;)&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">59 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;milliseconds(10)&#8203;;&#8203;</td><td class="diffline">60 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;milliseconds(10)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">60 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;else</td><td class="diffline">61 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;else</td></tr>
<tr class="diffchanged"><td class="diffline">61 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(0)&#8203;;&#8203;</td><td class="diffline">62 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(0)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">62 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">63 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">63 </td><td class="diffpresent"></td><td class="diffline">64 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">64 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Determine<span class="diffponct">&middot;</span>&#8203;how<span class="diffponct">&middot;</span>&#8203;long<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;clock<span class="diffponct">&middot;</span>&#8203;should<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;next<span class="diffponct">&middot;</span>&#8203;polled<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;determine</td><td class="diffline">65 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Determine<span class="diffponct">&middot;</span>&#8203;how<span class="diffponct">&middot;</span>&#8203;long<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;clock<span class="diffponct">&middot;</span>&#8203;should<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;next<span class="diffponct">&middot;</span>&#8203;polled<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;determine</td></tr>
<tr class="diffunmodified"><td class="diffline">65 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;whether<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;absoluate<span class="diffponct">&middot;</span>&#8203;time<span class="diffponct">&middot;</span>&#8203;has<span class="diffponct">&middot;</span>&#8203;been<span class="diffponct">&middot;</span>&#8203;reached.&#8203;</td><td class="diffline">66 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;whether<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;absoluate<span class="diffponct">&middot;</span>&#8203;time<span class="diffponct">&middot;</span>&#8203;has<span class="diffponct">&middot;</span>&#8203;been<span class="diffponct">&middot;</span>&#8203;reached.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">66 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;static<span class="diffponct">&middot;</span>&#8203;time_t_clock:&#8203;:&#8203;duration<span class="diffponct">&middot;</span>&#8203;to_wait_duration(</td><td class="diffline">67 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;static<span class="diffponct">&middot;</span>&#8203;time_t_clock:&#8203;:&#8203;duration<span class="diffponct">&middot;</span>&#8203;to_wait_duration(</td></tr>
<tr class="diffunmodified"><td class="diffline">67 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;const<span class="diffponct">&middot;</span>&#8203;time_t_clock:&#8203;:&#8203;time_point&amp;<span class="diffponct">&middot;</span>&#8203;t)&#8203;</td><td class="diffline">68 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;const<span class="diffponct">&middot;</span>&#8203;time_t_clock:&#8203;:&#8203;time_point&amp;<span class="diffponct">&middot;</span>&#8203;t)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">68 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">69 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">69 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;to_wait_duration(t<span class="diffponct">&middot;</span>&#8203;-&#8203;<span class="diffponct">&middot;</span>&#8203;time_t_clock:&#8203;:&#8203;now()&#8203;)&#8203;;&#8203;</td><td class="diffline">70 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;to_wait_duration(t<span class="diffponct">&middot;</span>&#8203;-&#8203;<span class="diffponct">&middot;</span>&#8203;time_t_clock:&#8203;:&#8203;now()&#8203;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">70 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">71 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">71 </td><td class="diffpresent">};&#8203;</td><td class="diffline">72 </td><td class="diffpresent">};&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">72 </td><td class="diffpresent"></td><td class="diffline">73 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">73 </td><td class="diffpresent">typedef<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;basic_waitable_timer&lt;&#8203;</td><td class="diffline">74 </td><td class="diffpresent">typedef<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;basic_waitable_timer&lt;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">74 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;time_t_clock,&#8203;<span class="diffponct">&middot;</span>&#8203;time_t_wait_traits&gt;<span class="diffponct">&middot;</span>&#8203;time_t_timer;&#8203;</td><td class="diffline">75 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;time_t_clock,&#8203;<span class="diffponct">&middot;</span>&#8203;time_t_wait_traits&gt;<span class="diffponct">&middot;</span>&#8203;time_t_timer;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">75 </td><td class="diffpresent"></td><td class="diffline">76 </td><td class="diffpresent"></td></tr>
<tr class="diffdeleted"><td class="diffline">76 </td><td class="diffpresent">void<span class="diffponct">&middot;</span>&#8203;handle_timeout(const<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;error_code&amp;)&#8203;</td><td colspan="2"></td></tr>
<tr class="diffdeleted"><td class="diffline">77 </td><td class="diffpresent">{</td><td colspan="2"></td></tr>
<tr class="diffdeleted"><td class="diffline">78 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;handle_timeout\n&quot;;&#8203;</td><td colspan="2"></td></tr>
<tr class="diffdeleted"><td class="diffline">79 </td><td class="diffpresent">}</td><td colspan="2"></td></tr>
<tr class="diffdeleted"><td class="diffline">80 </td><td class="diffpresent"></td><td colspan="2"></td></tr>
<tr class="diffunmodified"><td class="diffline">81 </td><td class="diffpresent">int<span class="diffponct">&middot;</span>&#8203;main()&#8203;</td><td class="diffline">77 </td><td class="diffpresent">int<span class="diffponct">&middot;</span>&#8203;main()&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">82 </td><td class="diffpresent">{</td><td class="diffline">78 </td><td class="diffpresent">{</td></tr>
<tr class="diffunmodified"><td class="diffline">83 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;try</td><td class="diffline">79 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;try</td></tr>
<tr class="diffunmodified"><td class="diffline">84 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">80 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">85 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;io_context<span class="diffponct">&middot;</span>&#8203;io_context;&#8203;</td><td class="diffline">81 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;io_context<span class="diffponct">&middot;</span>&#8203;io_context;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">86 </td><td class="diffpresent"></td><td class="diffline">82 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">87 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;time_t_timer<span class="diffponct">&middot;</span>&#8203;timer(io_context)&#8203;;&#8203;</td><td class="diffline">83 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;time_t_timer<span class="diffponct">&middot;</span>&#8203;timer(io_context)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">88 </td><td class="diffpresent"></td><td class="diffline">84 </td><td class="diffpresent"></td></tr>
<tr class="diffchanged"><td class="diffline">89 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;timer.&#8203;expires_after(<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(5)&#8203;)&#8203;;&#8203;</td><td class="diffline">85 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;timer.&#8203;expires_after(s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(5)&#8203;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">90 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Starting<span class="diffponct">&middot;</span>&#8203;synchronous<span class="diffponct">&middot;</span>&#8203;wait\n&quot;;&#8203;</td><td class="diffline">86 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Starting<span class="diffponct">&middot;</span>&#8203;synchronous<span class="diffponct">&middot;</span>&#8203;wait\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">91 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;timer.&#8203;wait()&#8203;;&#8203;</td><td class="diffline">87 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;timer.&#8203;wait()&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">92 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Finished<span class="diffponct">&middot;</span>&#8203;synchronous<span class="diffponct">&middot;</span>&#8203;wait\n&quot;;&#8203;</td><td class="diffline">88 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Finished<span class="diffponct">&middot;</span>&#8203;synchronous<span class="diffponct">&middot;</span>&#8203;wait\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">93 </td><td class="diffpresent"></td><td class="diffline">89 </td><td class="diffpresent"></td></tr>
<tr class="diffchanged"><td class="diffline">94 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;timer.&#8203;expires_after(<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(5)&#8203;)&#8203;;&#8203;</td><td class="diffline">90 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;timer.&#8203;expires_after(s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(5)&#8203;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">95 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Starting<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;wait\n&quot;;&#8203;</td><td class="diffline">91 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Starting<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;wait\n&quot;;&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">96 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;timer.&#8203;async_wait(<span class="diffchanged2">&amp;</span><span class="diffchanged2">h</span><span class="diffchanged2">a</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">t</span><span class="diffchanged2">i&#8203;</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">o</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">)&#8203;</span><span class="diffchanged2">;&#8203;</span></td><td class="diffline">92 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;timer.&#8203;async_wait(</td></tr>
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">93 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;[](const<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;error_code&amp;<span class="diffponct">&middot;</span>&#8203;/&#8203;*error*/&#8203;)&#8203;</td></tr>
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">94 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">95 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;timeout\n&quot;;&#8203;</td></tr>
<tr class="diffadded"><td colspan="2"> </td><td class="diffline">96 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;})&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">97 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;io_context.&#8203;run()&#8203;;&#8203;</td><td class="diffline">97 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;io_context.&#8203;run()&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">98 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Finished<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;wait\n&quot;;&#8203;</td><td class="diffline">98 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Finished<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;wait\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">99 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">99 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">100 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;catch<span class="diffponct">&middot;</span>&#8203;(std:&#8203;:&#8203;exception&amp;<span class="diffponct">&middot;</span>&#8203;e)&#8203;</td><td class="diffline">100 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;catch<span class="diffponct">&middot;</span>&#8203;(std:&#8203;:&#8203;exception&amp;<span class="diffponct">&middot;</span>&#8203;e)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">101 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">101 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">102 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Exception:&#8203;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;e.&#8203;what()&#8203;<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;\n&quot;;&#8203;</td><td class="diffline">102 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Exception:&#8203;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;e.&#8203;what()&#8203;<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">103 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">103 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">104 </td><td class="diffpresent"></td><td class="diffline">104 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">105 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;0;&#8203;</td><td class="diffline">105 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;0;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">106 </td><td class="diffpresent">}</td><td class="diffline">106 </td><td class="diffpresent">}</td></tr>

</table>

<footer>
    <p>Modified at 26.12.2020. HTML formatting created by <a href="http://git.droids-corp.org/gitweb/?p=diff2html;a=summary">diff2html</a>.    </p>
</footer>
</body></html>