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
Steven Watanabe
ee66c7fc8b Fixed use of dim instead of heterogeneous_system_dim and added missing disambiguating overloads
[SVN r45803]
2008-05-27 00:50:33 +00:00
Steven Watanabe
e5825de722 Removed unneeded #include
[SVN r45794]
2008-05-26 22:21:44 +00:00
Steven Watanabe
e093637eac Allow for printing unit names
[SVN r45732]
2008-05-24 17:21:54 +00:00
Steven Watanabe
1514b8a4c0 Added unit scaling and updated metric prefixes accordingly
[SVN r45595]
2008-05-21 04:53:12 +00:00
Matthias Schabel
217cf1173c namespace SI->si
[SVN r45553]
2008-05-19 18:46:24 +00:00
Steven Watanabe
e2ad3a9280 *** Still Unstable *** initial implementation of scaled units
[SVN r45458]
2008-05-18 00:09:44 +00:00