Commit Graph

5 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
e5825de722 Removed unneeded #include
[SVN r45794]
2008-05-26 22:21:44 +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
Steven Watanabe
161ad2baef Fixed ICE on msvc 8.0 sp1 (Whew. Thanks to K.R. Walker for tracking it down)
[SVN r41670]
2007-12-03 22:51:58 +00:00