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

25 Коммитов

Автор SHA1 Сообщение Дата
achabense 069afb033e
Remove some functions defined in `_CRTBLD` blocks (#4005) 2023-09-14 12:07:27 -07:00
Alex Guteniev 9ad382e2f5
Update preprocessor `#else` comment in product code to clarify which mode is where (#3900)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-08-10 16:48:21 -07:00
Stephan T. Lavavej 92d050e02b
Drop `#pragma once` in STL headers (#3895) 2023-07-26 11:54:17 -07:00
Tyler Nichols 8a6ec5a5fc
P2093R14: Formatted Output (#3337)
Co-authored-by: S. B. Tam <cpplearner@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2023-03-23 18:27:55 -07:00
Stephan T. Lavavej b660336b29
Cleanups: `#undef` macro hygiene (#3529) 2023-03-07 11:42:06 -08:00
Rose 73924c1920
Use Brace Lists to initialize objects. (#3277)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-02 16:58:02 -08:00
A. Jiang 31defd3719
Strengthen exception specifications for stream types (#3314)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-21 22:04:05 -08:00
Stephan T. Lavavej fb386c0108
Silence `[[fallthrough]]` warnings (#3162) 2022-10-24 15:50:52 -07:00
Stephan T. Lavavej 2f03bdf361
P2465R3 Standard Library Modules `std` And `std.compat` (#3108) 2022-09-19 14:47:02 -07:00
Stephan T. Lavavej 18451dc254
Toolset update: VS 2022 17.3 Preview 3, Clang 14 (#2861)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-07-14 15:03:09 -07:00
Igor Zhukov 85274ba282
When wchar_t is a real type, users shouldn't see unsigned short machinery (#2164) 2022-06-15 17:58:46 -07:00
Stephan T. Lavavej 64afd795a5
Cleanups 6: iostreams: drop `extern`, hide `_Winit` (#2678) 2022-05-01 03:44:23 -07:00
Stephan T. Lavavej 9bf8f3f9b0
Even more various cleanups (#2656) 2022-04-15 20:21:08 -07:00
Stephan T. Lavavej 33007ac754
Toolset update: VS 2022 17.1 Preview 2, Clang 13 (#2474) 2022-01-19 17:22:46 -08:00
Igor Zhukov ea54ea3319
`<fstream>`: `fstream::close` shouldn't corrupt heap (after `putback`) (#2189)
Co-authored-by: Alex Guteniev <gutenev@gmail.com>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2021-11-02 20:19:13 -07:00
Stephan T. Lavavej 6d2f8b0ed8
Cleanup comments and clang-formatting (#2136) 2021-08-26 17:51:21 -07:00
Daniel Marshall 472161105d
Remove SHOUTY BANNERS (#2074)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-08-05 19:33:09 -07:00
Daniel Marshall c76042bb32
Remove redundant uses of virtual keyword (#2069)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-08-05 19:25:47 -07:00
Stephan T. Lavavej 9a9820df1a
Toolset update: VS 2022 17.0 Preview 2 (#2064) 2021-07-19 17:53:06 -07:00
Casey Carter 4449d8ae0b
LWG-3430, fstream should be constructible from string_view (#1968) 2021-06-29 03:55:49 -07:00
Stephan T. Lavavej 2ce62b5848
Always use `if constexpr`, require CUDA 10.1 Update 2 (#1544) 2021-01-05 17:19:12 -08:00
Stephan T. Lavavej 68b344c9dc Run clang-format 11; no manual changes. 2020-12-10 09:27:45 -08:00
Billy O'Neal ff83542af4
Update to Clang 10 and Visual Studio 2019 version 16.6p2 (#645)
* Update to Clang 10 and Visual Studio 2019 version 16.6p2

* re-clang-formats the tree to comply with new clang 10 clang-format
* updates our agents to F series VMs which are faster and cheaper for our build workloads
* defaults scale set to 0 VMs and lets the Azure Pipelines service control all resizing
* fix tests to pass with the new compilers

Co-authored by Casey Carter and Curtis Bezault
2020-03-28 18:53:15 -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