Boost logo

Boost Users :

Subject: Re: [Boost-users] [units] subtract_typeof_helper<> help!
From: Matthias Schabel (boost_at_[hidden])
Date: 2010-05-19 15:19:50


> This version serves about as well, doesn't use [units], and uses very little of [geometry].
> terry

I don't know what the main purpose of Boost.Geometry is... Boost.Units is intended to ensure compile-time dimensional correctness. It is probably only useful if your code is likely to have mixed use of vectors/points having different length metrics. The code posted here has no idea if the distances are in microns or furlongs and will happily mix the two without any warning.

Matthias


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