Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10270: square root of boost units scaled_unit fails to compile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-29 22:26:03
#10270: square root of boost units scaled_unit fails to compile
-------------------------------+-----------------------------
Reporter: sharifmarat@⦠| Owner: matthiasschabel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: units
Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords: scale
-------------------------------+-----------------------------
Comment (by bnorman@â¦):
Replying to [comment:1 bnorman@â¦]:
> I'm hung up on exactly the same problem.
FYI, I am now able to work around this issue as follows:
{{{
typedef scaled_base_unit<si::meter_base_unit,
scale<10, static_rational<-6> > >::type
micro_meter_base_unit;
typedef micro_meter_base_unit::unit_type micro_meter_unit;
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10270#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-02-16 18:50:16 UTC