Boost logo

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:
Any help is appreciated.

namespace boost {namespace units {
namespace us {}}}//sinamespace boost {
namespace units {
namespace si {}}}

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