Commit Graph

16 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
8f866ba0de Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
c19d963752 Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +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
70177ca23d Fixed most of remaining inspect problems
[SVN r44965]
2008-05-01 02:56:47 +00:00
Steven Watanabe
3f2dc504da Reduced examples to 80 columns
[SVN r42870]
2008-01-19 22:35:35 +00:00
Steven Watanabe
817c23b01e resurrect examples/measurement.hpp
[SVN r38744]
2007-08-17 17:15:23 +00:00
Steven Watanabe
dcc6a3f6fb remove measurement.hpp from examples
[SVN r38731]
2007-08-16 20:28:23 +00:00
Matthias Schabel
f587a0033c examples and test run
[SVN r4381]
2007-05-31 16:46:48 +00:00
Matthias Schabel
56f582e216 correct example output, remove llrint/llround, add #includes to test_predicates
[SVN r3974]
2007-04-15 07:09:03 +00:00
Steven Watanabe
fefdd35163 remove std::setw
[SVN r3941]
2007-04-13 01:38:40 +00:00
Matthias Schabel
109c0dd718 add measurement.hpp
[SVN r3910]
2007-04-05 21:09:34 +00:00
Matthias Schabel
17988682c7 remove redundant header
[SVN r3908]
2007-04-05 03:05:44 +00:00
Steven Watanabe
37cfe9fbbd Initial revision
[SVN r3788]
2007-03-16 18:29:12 +00:00