24 Commits

Author SHA1 Message Date
Rene Rivera
dc8e70a190 Update build deps. 2024-08-07 23:48:42 -05:00
Rene Rivera
8e982da288 Change all <source> references to <library>. 2024-07-20 19:42:32 -05:00
Rene Rivera
1faf7c7d52 Add missing import-search for cconfig/predef checks. 2024-05-04 23:32:15 -05:00
Rene Rivera
9ca6bab033 Make the library modular usable. 2024-03-11 08:38:17 -05:00
Robert Ramey
36dca408ce Rationalized concepts for Numeric and Integer. The concept integer not currently used. 2021-05-16 17:52:47 -07:00
Robert Ramey
bb216bf58e updates to support better concepts 2021-05-11 11:14:49 -07:00
Robert Ramey
a742337b94 adjusted Jam and CMake files to eliminate bogus tests failures in boost test matrix. 2020-11-10 10:59:12 -08:00
Robert Ramey
34d0a2196d corrected error in safe_range where by minimum was fixed a zero
Improved implementation/definition of error_policies
added test for custom error policy
changed documentation in accordance with the above.
2020-06-23 14:00:31 -07:00
Robert Ramey
94cbf67773 invoked extra warnings for b2 file 2019-12-27 16:09:06 -08:00
Robert Ramey
937928693d corrected error in compile time casting for both safe_integer and safe_literal. Added test_cast_constexpr 2019-12-11 22:34:17 -08:00
Robert Ramey
f49e434238 Add tests for constexpr
improved CMake implementation for testing and development
2019-01-10 11:54:18 -08:00
Robert Ramey
b1273bd84d test change to avoid issue with Clang constexpr detection in test_checked_add_constexpr.cpp
adjust Jamfile to extend depth of template instantiation to 1024
2018-12-12 09:48:10 -08:00
Robert Ramey
56e08ca37d address misc errors which are only showing with clang
specify template stack depth
2018-12-11 15:48:55 -08:00
Robert Ramey
a06d9f7a69 added constexpr tests to checked result operations
added tests for check result < and == operations
correct implementation of some checked result types
added constexpr example
2018-12-10 14:12:47 -08:00
Robert Ramey
fc38d49245 fix extraneous semi-colons
fix test_trap in Jamfile - should fail compile only
2018-10-15 19:59:04 -07:00
Robert Ramey
992bd7b311 Changes generated by preparation for CPPCon 2018 2018-09-15 10:48:41 -07:00
Robert Ramey
b62ef86e28 Added case study for embedded system
corrections in cpp promotion
added make_safe_literal
separated integers from other types
dropped example91
updated CMakeLists.txt and Jamfile.v2 accordingly
2018-07-21 09:57:35 -07:00
Robert Ramey
53bd56c597 improved support for constexpr
improved support for safe_literals
corrected errors in less_than and equal which were failing to detect possible runtime failures.
simplified pseudo partial specialization for checked_result_operations
2018-05-19 15:59:28 -07:00
Robert Ramey
ff130138ca update Jamfile to address CI problem 2018-04-24 14:33:17 -07:00
Robert Ramey
b534437b76 correct issues in example93 and misc gcc issues.
correct Jamfile to skip performance test in debug mode
implement compile only test in CMakeLists.txt
2018-04-07 15:30:02 -07:00
Robert Ramey
d053997cfd Made alterations to accommodate GCC compilers. Now passes all tests on both Clang and GCC 2018-04-06 09:02:21 -07:00
Robert Ramey
4153b7f58a Numerous changes to better handle floating point.
Turns out that these changes should also better position us to handle other underlying types - but we're not there yet.
Added example for composition with other types - example boost rational and boost multi precision
Added performance test using boost multi precision
Many other small corrections
2017-07-16 13:36:09 -07:00
Robert Ramey
86910466a8 Intermediate working version
Making way for checked_float, checked_money, etc

a) factoring checked into checked_integer etc.
b) moved some tests from test_z to official tests
c) added test_rational which tests interoperability with boost::rational
d) moved safe_range to safe_integer_range
2017-07-08 12:48:37 -07:00
Robert Ramey
3d67f22735 made fixes to pass tests for GCC compilers.
made jam files to be compatible with boost
made version of apveyor.yml which might work
2017-06-14 12:25:07 -07:00