Re: [Boost-bugs] [Boost C++ Libraries] #11336: units: base_unit_info name and symbol unavailable for absolute units

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11336: units: base_unit_info name and symbol unavailable for absolute units
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-25 11:31:21


#11336: units: base_unit_info name and symbol unavailable for absolute units
-------------------------------------+-----------------------------
  Reporter: Roger Leigh <rleigh@…> | Owner: matthiasschabel
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: units
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------+-----------------------------

Comment (by Roger Leigh <rleigh@…>):

 Hi Steven,

 I have attached an example file to demonstrate the problem. Uncomment the
 comments to get my workaround for getting it to compile and function,
 though I don't really like this.

 I'm not using base_unit_info directly; I'm using name_string and
 symbol_string from io.hpp, and these are failing with absolute units. I
 assumed these should work with all unit types for output, rather than
 being limited to base units.

 Kind regards,
 Roger

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