Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Daniel Marshall 472161105d
Remove SHOUTY BANNERS (#2074)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-08-05 19:33:09 -07:00
Stephan T. Lavavej 20288f94e4
Split/fuse `xlocinfo.h` to fix unintentional export in `format.cpp` (#1927)
* Extract `__msvc_xlocinfo_types.hpp`.

* Include `__msvc_xlocinfo_types.hpp` instead of `xlocinfo.h`.

In `xwctomb.cpp`, need to reorder functions.

Also, `<cwchar>` provides `wmemcmp`, not `<cstring>`.

* Fuse `xlocinfo.h`.
2021-06-04 09:50:10 -07:00
Billy O'Neal 482f1d8088
Reduce the amount of content included by <array> (#482)
* Reduce the amount of content included by <array>.

Resolves GH-462.

* Demote `back_inserter` and `iterator` to `<iterator>`.
* Demote `_Yarn` to `<xlocinfo>`.
* Demote `_Tidy_guard`, `_Tidy_deallocate_guard`, and `_Nothrow_compare` to `<xmemory>`.
* Promote `_Swap_ranges_unchecked` to `<xutility>`.
* Change `<array>` to include only `<xutility>`.

* Un-demote iterator.

* Workaround many RWC projects that expected std::min and std::max to come from <array>.

* Remove the `_STL_ASSERT` from `std::min` and `std::max`. We normally guard every `op<` with debug checks, but in this case we aren't using it to enforce something like a container invariant; the number of bad op<s we catch with it are likely microscopic.
* Delete `_Min_value` and `_Max_value` from `<utility>`.
* Move `min` and `max` to `<utility>` (in the exact position as the old `_Min_value` and `_Max_value`)
* Change all existing callers of `_Min_value` and `_Max_value` to call `(_STD min)` and `(_STD max)`, respectively.

* Homogenize vector algorithm guards.
2020-02-21 05:55:22 -08:00
Stephan T. Lavavej 219514876e Initial commit. 2019-09-04 15:57:56 -07:00