Commit Graph

11 Commits

Author SHA1 Message Date
Steven Watanabe
bf2c4d2586 A few fixes before merging this PR
* Revert most of the changes to examples, because ugly macros don't belong
  in examples.  Just use constexpr as appropriate.
* Revert Lambda changes as they're wrong and Boost.Lambda doesn't support
  constexpr.
* Remove include of broken math_fwd.hpp.
2018-01-10 12:07:09 -07:00
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
9225505b1c remove stringstream stuff, minor fixes/updates
[SVN r46011]
2008-06-01 08:42:05 +00:00
Steven Watanabe
817a474701 Made examples pass on como 4.3.3
[SVN r45400]
2008-05-15 19:07:57 +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
8acf71ffa6 Renamed power_dimof_helper back to power_typof_helper
[SVN r45375]
2008-05-14 23:05:41 +00:00
Steven Watanabe
721b4d6180 Moved pow into its own directory
[SVN r45372]
2008-05-14 21:54:31 +00:00
Steven Watanabe
ddd705dc05 Started reducing examples to 80 columns
[SVN r42803]
2008-01-15 21:23:30 +00:00
Matthias Schabel
3b0d202988 cleanup
[SVN r40169]
2007-10-19 00:25:44 +00:00
Steven Watanabe
24e2221ded New examples--rename old ones
[SVN r38706]
2007-08-16 00:54:21 +00:00