Re: [Boost-bugs] [Boost C++ Libraries] #13099: How about adding BOOST_CONSEXPR to functions in rational where appropriate

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13099: How about adding BOOST_CONSEXPR to functions in rational where appropriate
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-06-27 08:53:38


#13099: How about adding BOOST_CONSEXPR to functions in rational where appropriate
-------------------------------+--------------------------------
  Reporter: ramey | Owner: dlwalker
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: rational
   Version: Boost 1.63.0 | Severity: Optimization
Resolution: | Keywords: rational constexpr
-------------------------------+--------------------------------

Comment (by johnmaddock):

 Hi Robert, now that gcd/lcm are constexpr I'm fairly sure this is possible
 now (in C++14 that is). However, since this isn't my library, and I'm
 pushed for time, my suggestion would be that you submit a PR ;)

 It would be good to have fully constexpr rational arithmetic though...

--
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13099#comment:2>
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-06-27 08:56:24 UTC