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


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.

This commit does indeed fix your example.

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at