|
Boost Users : |
Subject: [Boost-users] boost/units - converting forces (lbf->N)
From: Matt Vinson (matt.vinson_at_[hidden])
Date: 2018-12-01 13:25:58
To see if I understand the library, I want to create metric and imperial systems without using Boost Units predefined systems*. Conversions between lengths are going well. Conversion between forces are going well until pounds-force to newtons; line 182 in the link. What am I doing wrong when lbf will not convert to newtons?
Here is my code:
https://coliru.stacked-crooked.com/a/f5f80d39fbdf8013
Any help is appreciated.
*
//imperial
namespace boost {namespace units {
namespace us {}}}//sinamespace boost {
namespace units {
namespace si {}}}
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