Order of composite units in the output
Hi,
I think I am beginning to get the boost:units library, but I still have one
problem. Consider:
#include <iostream>
#include
You can, of course, create a custom output for any particular unit if you desire. The default output formatting simply traverses the list of base units in the (arbitrary) order that they appear... Matthias
AMDG
Esben Mose Hansen wrote:
This program outputs flow= 4 s^-1 ffe
which is correct, but a bit unusual... 4 ffe/s or even 4 ffe s^-1 would have been better. Is this possible?
Not really. The output formatting is fairly primitive.
In Christ, Steven Watanabe
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Esben Mose Hansen
-
Matthias Schabel
-
Steven Watanabe