boostorg / locale

Boost.Locale
Boost Software License 1.0
31 stars 70 forks source link

Require C++11 and remove support and use of `std::auto_ptr` #111

Closed Flamefire closed 2 years ago

Flamefire commented 2 years ago

As previously announced this drops support for C++ prior to C++11 which allows to get rid of a few dependencies and conditional code and compatibility macros.

Going forward this will also simplify the code easing development especially due to use of (unconditional) move semantics.

It also drops the use and support of std::auto_ptr avoiding deprecating warnings and pitfalls.

Closes #90

codecov[bot] commented 2 years ago

Codecov Report

Merging #111 (564a422) into develop (903724c) will increase coverage by 0.04%. The diff coverage is 77.56%.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/boostorg/locale/pull/111/graphs/tree.svg?width=650&height=150&src=pr&token=vF6mWvgGUn&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg)](https://codecov.io/gh/boostorg/locale/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) ```diff @@ Coverage Diff @@ ## develop #111 +/- ## =========================================== + Coverage 80.69% 80.73% +0.04% =========================================== Files 73 73 Lines 5790 5766 -24 =========================================== - Hits 4672 4655 -17 + Misses 1118 1111 -7 ``` | [Impacted Files](https://codecov.io/gh/boostorg/locale/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) | Coverage Δ | | |---|---|---| | [include/boost/locale/gnu\_gettext.hpp](https://codecov.io/gh/boostorg/locale/pull/111/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9sb2NhbGUvZ251X2dldHRleHQuaHBw) | `100.00% <ø> (ø)` | | | [include/boost/locale/localization\_backend.hpp](https://codecov.io/gh/boostorg/locale/pull/111/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9sb2NhbGUvbG9jYWxpemF0aW9uX2JhY2tlbmQuaHBw) | `100.00% <ø> (ø)` | | | [include/boost/locale/util.hpp](https://codecov.io/gh/boostorg/locale/pull/111/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC9sb2NhbGUvdXRpbC5ocHA=) | `0.00% <ø> (ø)` | | | [src/boost/locale/shared/generator.cpp](https://codecov.io/gh/boostorg/locale/pull/111/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-c3JjL2Jvb3N0L2xvY2FsZS9zaGFyZWQvZ2VuZXJhdG9yLmNwcA==) | `79.56% <ø> (ø)` | | | [src/boost/locale/shared/mo\_lambda.hpp](https://codecov.io/gh/boostorg/locale/pull/111/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-c3JjL2Jvb3N0L2xvY2FsZS9zaGFyZWQvbW9fbGFtYmRhLmhwcA==) | `100.00% <ø> (ø)` | | | [src/boost/locale/std/collate.cpp](https://codecov.io/gh/boostorg/locale/pull/111/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-c3JjL2Jvb3N0L2xvY2FsZS9zdGQvY29sbGF0ZS5jcHA=) | `27.27% <0.00%> (ø)` | | | [test/test\_formatting.cpp](https://codecov.io/gh/boostorg/locale/pull/111/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-dGVzdC90ZXN0X2Zvcm1hdHRpbmcuY3Bw) | `100.00% <ø> (ø)` | | | [test/test\_utf.cpp](https://codecov.io/gh/boostorg/locale/pull/111/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-dGVzdC90ZXN0X3V0Zi5jcHA=) | `100.00% <ø> (ø)` | | | [src/boost/locale/util/numeric.hpp](https://codecov.io/gh/boostorg/locale/pull/111/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-c3JjL2Jvb3N0L2xvY2FsZS91dGlsL251bWVyaWMuaHBw) | `76.10% <20.00%> (ø)` | | | [src/boost/locale/shared/mo\_lambda.cpp](https://codecov.io/gh/boostorg/locale/pull/111/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-c3JjL2Jvb3N0L2xvY2FsZS9zaGFyZWQvbW9fbGFtYmRhLmNwcA==) | `60.34% <50.00%> (ø)` | | | ... and [17 more](https://codecov.io/gh/boostorg/locale/pull/111/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) | | ------ [Continue to review full report at Codecov](https://codecov.io/gh/boostorg/locale/pull/111?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/boostorg/locale/pull/111?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg). Last update [903724c...564a422](https://codecov.io/gh/boostorg/locale/pull/111?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg).