usefulcat

Results 9 comments of usefulcat

I submitted a PR to fix this, see PR "Bug fix for #35".

I would upvote this 10x if I could. I have long theorized, but never had the chance/taken the time to prove, that using exceptions to report uncommon conditions can be...

Seems like this could have some overlap with #25 (throwing exceptions from destructors)

How sure are you that thread sanitizer is detecting an actual problem here? It looks like that member variable, _new_thread_context, gets written to every time a new thread is created,...

The code I presented isn't in the codebase; it's an example of code that uses boost.safe_numerics. My question is whether it is intentional and/or necessary for `boost::safe_numerics::safe` types to be...

I'm afraid you misunderstand. [The following code](https://godbolt.org/z/acG5GMod3), which is a complete example, does not compile: ``` #include #include #include static_assert(std::is_convertible_v == false); int main() { return 0; } ```

After further investigation, I believe this method from safe_base is the culprit: ``` ///////////////////////////////////////////////////////////////// // casting operators for intrinsic integers // convert to any type which is not safe. safe...

I don't think this problem has anything to do with std::string. I just used that as what I thought would be an obvious example of this feature not working as...