Boost logo

Boost Users :

Subject: Re: [Boost-users] [Units] Heterogeneous unit for pressure per time
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-02-27 21:37:46


AMDG

On 02/27/2015 04:44 PM, Steven Watanabe wrote:
>
>> And then I try to use it:
>> BarPerMinuteRoC bpm = 5.0 * BarPerMinute;
>> But this line doesn't compile with quite a long error trail which I'm having a bit of trouble understanding fully.
>> 1>c:\workspace\externals\boost_1_57_0\include\boost\units\detail\linear_algebra.hpp(197): error C2039: 'item' : is not a member of 'boost::units::dimensionless_type'
>> 1>
>
> This looks remarkably like a bug that I just fixed.
> https://github.com/boostorg/units/commit/423adb31c1eb9687d21a8af5506830a0de53a464
>

This commit does indeed fix your example.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net