Re: [Boost-bugs] [Boost C++ Libraries] #8399: owens_t_T6 misplaced parenthesis

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8399: owens_t_T6 misplaced parenthesis
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-18 18:02:26


#8399: owens_t_T6 misplaced parenthesis
----------------------------------+-----------------------------------------
  Reporter: mwelinder@… | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: math
   Version: Boost 1.53.0 | Severity: Problem
Resolution: invalid | Keywords:
----------------------------------+-----------------------------------------
Changes (by johnmaddock):

  * status: new => closed
  * resolution: => invalid

Comment:

 Ah no, the original code is correct:

 We require mixed arithmetic between the floating point type and all
 builtin arithmetic types as part of our conceptual requirements, so 1 + a
 is always supported.

 The cast is there in case the type of "a" uses expression templates (ie 1
 + a returns a type other than the type of "a").

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8399#comment:1>
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:12 UTC