Boost logo

Boost :

Subject: Re: [boost] [units] Interest in UDLs (e.g. _kg) for units?
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2014-08-27 06:59:07


> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Jürgen Hunold
> Sent: 27 August 2014 11:09
> To: boost_at_[hidden]
> Subject: Re: [boost] [units] Interest in UDLs (e.g. _kg) for units?
>
> > Closing the can before anything bad happens...

LOL!

> Am Freitag, 22. August 2014, 10:08:34 schrieb Curdeius Curdeius:
> > The user would have to pull corresponding namespace (let's call it
> > `udl`) to use it, for example
> >
> > using namespace boost::units::systems::si::udl; // bring _kg, _km, ...
> >
> > into scope
>
> I think boost::units::systems::si:literals is a better namespace.

Strongly agree - one isn't going to type

  using boost::units::systems::si:literals;

often?

And megatons of Examples are needed ;-)

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 (0) 1539 561830

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk