[Boost-bugs] [Boost C++ Libraries] #11668: cpu_timer methods documented as noexcept, while in code they are not

Subject: [Boost-bugs] [Boost C++ Libraries] #11668: cpu_timer methods documented as noexcept, while in code they are not
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-18 15:17:38


#11668: cpu_timer methods documented as noexcept, while in code they are not
-------------------------------------------------+-------------------------
 Reporter: George Butnaru <geo.butnaru@…> | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: timer
  Version: Boost 1.59.0 | Severity: Problem
 Keywords: cpu_timer, auto_cpu_timer, |
  noexcept, exceptions |
-------------------------------------------------+-------------------------
 Hello,

 I was trying to use cpu_timer in an environment which does not use
 exceptions.
 As documented, most of the methods are noexcept, but the code does not
 have noexcept and uses try catch, see libs/timer/src/cpu_timer.cpp ,
 ~auto_cpu_timer .
 Please either fix the documentation, or the code to comply with the
 documentation. My preferred way to fix the issue is the latter way, or at
 least give the option for the user to not use exception (with
 BOOST_NO_EXCEPTIONS).

 Thank you,

 George Butnaru

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11668>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC