Re: [Boost-bugs] [Boost C++ Libraries] #9582: Boost.Units: conversion to double with prefixed unit

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9582: Boost.Units: conversion to double with prefixed unit
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-11 00:42:44


#9582: Boost.Units: conversion to double with prefixed unit
-------------------------------+-------------------------------------
  Reporter: richel@… | Owner: matthiasschabel
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: units
   Version: Boost 1.54.0 | Severity: Cosmetic
Resolution: | Keywords: Units conversion prefix
-------------------------------+-------------------------------------

Comment (by steven_watanabe):

 The first case is an /explicit/ conversion. The second would require an
 implicit conversion since there's no way to define an explicit conversion
 to double in C++03. It can be done in C++11, I believe.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9582#comment:1>
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:15 UTC