Commit Graph

16 Commits

Author SHA1 Message Date
Giel van Schijndel
595390497c Add constexpr support
Ensuring that:
 * it still works as before on C++98 and C++03
 * C++11 "strict" constexpr is used where possible
  - requires replacing { R x; return f(x); } with { return f(R()); }
 * C++14 "relaxed" constexpr is used only where otherwise impossible
  - assignment operators
  - functions who's implementations require more than a single return
    statement
2016-08-15 00:14:14 +02:00
Steven Watanabe
36709d4d4f Never return one from conversion_factor.
[SVN r74159]
2011-08-30 15:07:48 +00:00
Steven Watanabe
54c596ab5c Merge the units/autoprefix branch back to the trunk. Fixes #3660. Fixes #3707
[SVN r62532]
2010-06-07 23:49:52 +00:00
Steven Watanabe
ac8c448e4f Begin tracing xlc failure
[SVN r51189]
2009-02-10 21:47:42 +00:00
Steven Watanabe
e5427e2efb Switch to BOOST_CHECK_CLOSE_FRACTION
[SVN r50025]
2008-11-29 20:45:12 +00:00
Matthias Schabel
e4bcde0076 *** MAJOR ***
potentially breaking changes : rename SI/CGS namespaces to lowercase
remove some non-SI units (mostly obscure)

move base_units into boost/units
move physical_dimensions into boost/units
improved base_units for non-SI 

[SVN r45508]
2008-05-19 00:30:13 +00:00
Matthias Schabel
80ffd42077 update copyright notices, minor fixes in non-SI units
[SVN r45390]
2008-05-15 15:39:02 +00:00
Matthias Schabel
3b0d202988 cleanup
[SVN r40169]
2007-10-19 00:25:44 +00:00
Steven Watanabe
266afd0633 Made heterogeneous->heterogeneous conversion work
[SVN r4417]
2007-06-02 01:25:15 +00:00
Steven Watanabe
937177f784 Remove tabs
[SVN r4393]
2007-05-31 19:22:49 +00:00
Steven Watanabe
d4a46a4bec New System Implemetation
[SVN r4228]
2007-05-24 20:45:58 +00:00
Steven Watanabe
6e17dd676c More complete testing of heterogeneous, dimensionless conversions
[SVN r3918]
2007-04-09 17:59:26 +00:00
Steven Watanabe
10fec9516d Added test for simple heterogeneous, dimensionless conversions
[SVN r3917]
2007-04-09 16:53:00 +00:00
Matthias Schabel
6a88b16d7d removed deprecated quantity_cast usages
[SVN r3881]
2007-04-03 20:48:07 +00:00
Steven Watanabe
f8a274c59b Added test for converting unit and value_type simultaniously
[SVN r3839]
2007-03-29 20:05:58 +00:00
Steven Watanabe
37cfe9fbbd Initial revision
[SVN r3788]
2007-03-16 18:29:12 +00:00