|
Boost : |
Subject: [boost] [geometry][units] Vector Class
From: Terry Golubiewski (tjgolubi_at_[hidden])
Date: 2010-05-19 08:29:18
I imagine that using geometry/unit together will be common.
I just posted these files on boost-user too, but I wanted the geometry/units
developers to see what I've done.
I think it was too difficult to make a Vector<quantity<U,T>> class.
However, it could be done, so that is very good!
The problem is that the geometry library assumes that the types of T*T and
sqrt(T) is the same as T.
terry
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk