[Boost-bugs] [Boost C++ Libraries] #8964: operator>> missing

Subject: [Boost-bugs] [Boost C++ Libraries] #8964: operator>> missing
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-04 20:46:36


#8964: operator>> missing
------------------------------+-----------------------------
 Reporter: pipping@… | Owner: matthiasschabel
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: units
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: |
------------------------------+-----------------------------
 boost/units/io.hpp defines operator<< but not operator>>.

 As a result, dimensionful quantities can be written but not read. This is
 a serious problem.

 Why would I want to use Boost::Units in the first place? Because I'd like
 to enter dimensionful quantities into my
 program, then do some calculations, and have it output
 dimensionful quantities.

 The latter (i.e. output) works. But the former (i.e. input) is restricted
 to hardcoded parameters in my source file. If I move the data to a config
 file and try to read it, I face the problem that there is no operator>>.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8964>
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:13 UTC