Boost C++ Libraries: Ticket #13473: asio::basic_repeating_timer broken by 1.66.0 https://svn.boost.org/trac10/ticket/13473 <p> The third-party header basic_repeating_timer.hpp, "Developed 2007 by David C. Wyles (<a class="ext-link" href="http:///www.codegorilla.co.uk"><span class="icon">​</span>http:///www.codegorilla.co.uk</a>)", no longer compiles with boost::asio 1.66.0: </p> <p> In file included from test1.cpp:1:0: ../Third_Party_Code/basic_repeating_timer.hpp:31:52: error: ‘deadline_timer_service’ in namespace ‘boost::asio’ does not name a template type </p> <blockquote> <p> typename <a class="missing wiki">TimerService</a> = boost::asio::deadline_timer_service&lt;Time, <a class="missing wiki">TimeTraits</a>&gt; &gt; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> ../Third_Party_Code/basic_repeating_timer.hpp:31:74: error: expected ‘&gt;’ before ‘&lt;’ token </p> <blockquote> <p> typename <a class="missing wiki">TimerService</a> = boost::asio::deadline_timer_service&lt;Time, <a class="missing wiki">TimeTraits</a>&gt; &gt; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from test1.cpp:1:0: ../Third_Party_Code/basic_repeating_timer.hpp:205:59: error: template argument 3 is invalid </p> <blockquote> <p> typedef basic_repeating_timer&lt;boost::posix_time::ptime&gt; repeating_timer; </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13473 Trac 1.4.3 Mike Haben <michael.haben@…> Sat, 10 Mar 2018 16:22:50 GMT attachment set https://svn.boost.org/trac10/ticket/13473 https://svn.boost.org/trac10/ticket/13473 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">basic_repeating_timer.hpp</span> </li> </ul> <p> Third-party boost::asio repeating timer </p> Ticket Mike Haben <michael.haben@…> Sun, 18 Mar 2018 09:17:25 GMT <link>https://svn.boost.org/trac10/ticket/13473#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13473#comment:1</guid> <description> <p> There are a few different (re-)implementations of a repeating timer using boost::asio (e.g. <a class="ext-link" href="https://gist.github.com/NicolaBernini/13c82b45ae283911eeeb"><span class="icon">​</span>https://gist.github.com/NicolaBernini/13c82b45ae283911eeeb</a>) on the web, each with caveats and suggestions for improvement - please could a "best and final" implementation be added to boost::asio itself? </p> <p> thanks, Mike H. </p> </description> <category>Ticket</category> </item> </channel> </rss>