Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove non-Standard TR1#5763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
StephanTLavavej merged 24 commits intomicrosoft:mainfromStephanTLavavej:tr-none
Oct 10, 2025
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
24 commits
Select commitHold shift + click to select a range
d0a49f5
Require Standard URBGs, delete machinery for TR1 generators.
StephanTLavavejSep 23, 2025
168a5f1
Remove `_HAS_TR1_NAMESPACE`.
StephanTLavavejSep 21, 2025
50deac8
Remove `_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING`.
StephanTLavavejSep 7, 2025
24baecb
Remove `_SILENCE_TR1_RANDOM_DEPRECATION_WARNING`.
StephanTLavavejSep 7, 2025
8c431f9
Simplify test for removed non-Standard names.
StephanTLavavejSep 7, 2025
04f22b5
Drop `_Swc_base` `operator>>()` and `operator<<()`, and `_Swc_traits:…
StephanTLavavejSep 21, 2025
785aa50
Drop `_Swc_base` `min()` and `max()`, and `_Swc_traits::_Max`.
StephanTLavavejSep 21, 2025
8d2f894
Fuse `_Swc_base` `operator()()` with strengthened `noexcept`.
StephanTLavavejSep 21, 2025
58054da
Fuse `_Swc_base` `discard()`.
StephanTLavavejSep 21, 2025
02a6f8c
Fuse `_Swc_base` `operator==()`.
StephanTLavavejSep 21, 2025
aa04aff
Fuse `_Swc_base` `default_seed`.
StephanTLavavejSep 21, 2025
6d1aacc
Introduce and consistently use `_Mytraits` in `_Swc_base` and `subtra…
StephanTLavavejSep 21, 2025
5f8798e
Fuse `_Swc_base` `_Write_full()`.
StephanTLavavejSep 21, 2025
b388b08
Drop `_Swc_base` default ctor and ctor/`seed()` from `_Gen&`.
StephanTLavavejSep 21, 2025
8d3a924
Fuse `_Swc_base` construction.
StephanTLavavejSep 21, 2025
3b35f57
Fuse `_Swc_base` `seed()`.
StephanTLavavejSep 21, 2025
33dc8d1
Finish fusing `_Swc_base`.
StephanTLavavejSep 21, 2025
46260b6
`_Carry` is now a direct data member.
StephanTLavavejSep 21, 2025
35f43e6
Simplify `_Swc_traits::_Reset()` as `_Readcy` is always `false`.
StephanTLavavejSep 21, 2025
2126631
Fuse `_Swc_traits` `_Cy` and `_Mod`, avoiding shadowing in `_Write_fu…
StephanTLavavejSep 21, 2025
03d59d4
Fuse `_Swc_traits` `_Write_full()`.
StephanTLavavejSep 21, 2025
55c4244
Finish fusing `_Swc_traits`.
StephanTLavavejSep 21, 2025
6727c66
Fuse `_Reset()` into `seed()`.
StephanTLavavejSep 21, 2025
dc6f590
Consistently use `%=`.
StephanTLavavejSep 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Remove_SILENCE_TR1_RANDOM_DEPRECATION_WARNING.
  • Loading branch information
@StephanTLavavej
StephanTLavavej committedOct 4, 2025
commit24baecb13e3053ce7c7c84bf721863a06253bcb7
10 changes: 1 addition & 9 deletionsstl/inc/yvals_core.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1498,15 +1498,7 @@ _EMIT_STL_ERROR(STL1004, "C++98 unexpected() is incompatible with C++23 unexpect
#define _DEPRECATE_IO_PFX_SFX
#endif // ^^^ warning disabled ^^^

#if !defined(_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING) && !defined(_SILENCE_TR1_RANDOM_DEPRECATION_WARNING) \
&& !defined(_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS)
#define _DEPRECATE_TR1_RANDOM \
[[deprecated("warning STL4046: Non-Standard TR1 components in <random> are deprecated and will be REMOVED. You " \
"can define _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING, _SILENCE_TR1_RANDOM_DEPRECATION_WARNING, or " \
"_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning.")]]
#else // ^^^ warning enabled / warning disabled vvv
#define _DEPRECATE_TR1_RANDOM
#endif // ^^^ warning disabled ^^^
// STL4046 was "Non-Standard TR1 components in <random> are deprecated and will be REMOVED."

#if _HAS_CXX20 && defined(__cpp_char8_t) && !defined(_SILENCE_CXX20_CODECVT_CHAR8_T_FACETS_DEPRECATION_WARNING) \
&& !defined(_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS)
Expand Down
2 changes: 0 additions & 2 deletionstests/std/tests/P0952R2_new_generate_canonical/test.cpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#define _SILENCE_TR1_RANDOM_DEPRECATION_WARNING

#include <__msvc_int128.hpp>
#include <cassert>
#include <cmath>
Expand Down
2 changes: 0 additions & 2 deletionstests/tr1/tests/random6/test.cpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,8 +4,6 @@
// test <random> C++11 header, part 6
#define TEST_NAME "<random>, part 6"

#define _SILENCE_TR1_RANDOM_DEPRECATION_WARNING

#include <math.h>
#define FLOAT_TYPE IS_DOUBLE
#include "tdefs.h"
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp