Skip to content

Merge developt into master (modular build for 1.93) - #150

Merged
pdimov merged 60 commits into
masterfrom
develop
Oct 21, 2026
Merged

pdimov merged 60 commits into
masterfrom
develop

Conversation

@Becheler

@Becheler Becheler commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

This branch will need develop updated to solve conflicts first (see #151 )

robertramey and others added 30 commits January 5, 2020 12:09
Improved implementation/definition of error_policies
added test for custom error policy
changed documentation in accordance with the above.
* docs: fix namespace in introduction

* Docs: use naespace safe_numerics also in prose
due mostly to Andrzej Krzemieński
a) streaming negative numbers into unsigned integers is now handled properly.
b) documentation improved/corrected to better show the relationship between policies and safe integer types
fails test_rational only
passes all tests and examples.
minor documentation fixes
… an issue whereby including the same types in a library ends up producing multiple copies of the function. This only shows up when combinations of types are reused. This should fix the problem. BUT I can’t figure out a way to really test it. These changes pass all tests - but there is no “linking” test to show this specific problem.

Actually this raises the question about what a “header only” library really is.  When it gets included in multiple modules, it looks like the compiler/linker consolidates functions with the same type signature - thus conflicting with most persons idea of what “header only” should actually mean.  Food for thought.

It also raises the issue of “head only” libraries and “code bloat”.  By making sure everything is inline we are contributing to code bloat.  This really should/could be addressed with making “inline”  INLINE and defining it according to what kind output we want to produce (ie. executable, static library, shared library, etc.).  But of course that changes the API - another can of worms.
…ch Boost library's meta json information for libraries whose minumum C++ standard compilation level is C++11 on up. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. (#97)
…hat is almost all “optional” members. User interface is the same.
Still pending - remove/remake concept SafeNumeric.
@robertramey

Copy link
Copy Markdown
Member

The above says "work in progress", should this be merged as well?

@Becheler

Becheler commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

I opened the PR as "draft" to prevent it to be merged before #151. I will mark it as ready, and let's merge it if/when all checks are green ! ☺️

@Becheler
Becheler marked this pull request as ready for review October 8, 2026 23:35
@Becheler

Becheler commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

Hi @robertramey ! This can be safely merged ? 🚀

Importantly, use the "Create a merge commit" option rather than "Squash and merge". To see this option, go to the bottom of the PR. Instead of clicking the merge button, click the small arrow to show the drop-down menu 😄

@pdimov
pdimov merged commit be8f647 into master Oct 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.