Commit Graph

8 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
54c596ab5c Merge the units/autoprefix branch back to the trunk. Fixes #3660. Fixes #3707
[SVN r62532]
2010-06-07 23:49:52 +00:00
Matthias Schabel
80ffd42077 update copyright notices, minor fixes in non-SI units
[SVN r45390]
2008-05-15 15:39:02 +00:00
Steven Watanabe
721b4d6180 Moved pow into its own directory
[SVN r45372]
2008-05-14 21:54:31 +00:00
Matthias Schabel
4e0a2fd03a narrowing conversions prohibited
[SVN r3980]
2007-04-18 22:24:43 +00:00
Matthias Schabel
6a88b16d7d removed deprecated quantity_cast usages
[SVN r3881]
2007-04-03 20:48:07 +00:00
Matthias Schabel
4b64d9e164 remove mutating value() from test_dimensionless_quantity.cpp
[SVN r3851]
2007-03-30 16:53:03 +00:00
Steven Watanabe
37cfe9fbbd Initial revision
[SVN r3788]
2007-03-16 18:29:12 +00:00