Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
0bf216b
Update `#else` transition comment (#3951)
AlexGuteniev Aug 18, 2023
21eca6f
Fix `string::assign` and `::resize_and_overwrite` under ASan (#3956)
achabense Aug 18, 2023
292ff9b
Replace `if` with `if constexpr` (#3958)
grcm10 Aug 18, 2023
c7a90d7
Fix bad tr1/algorithm test cases (#3967)
CaseyCarter Aug 18, 2023
60f1885
Update boost-math to 1.83 (#3952)
fsb4000 Aug 18, 2023
782dcd5
Make the constexpr mutex constructor opt-in (#4000)
CaseyCarter Aug 30, 2023
40e1eac
Deprecate the contents in `<cvt/meow>` headers (#3924)
frederick-vs-ja Aug 31, 2023
b091f2a
Avoid calling `size()` in valarray loops (#3968)
AlexGuteniev Aug 31, 2023
bbb6739
Partially remove workaround for DevCom-1559808 (#3975)
frederick-vs-ja Aug 31, 2023
ab60075
C++20 Standard Library Modules! (#3977)
StephanTLavavej Aug 31, 2023
b186392
Avoid VSO-1854243 in `P0339R6_polymorphic_allocator` (#3987)
CaseyCarter Aug 31, 2023
46ca2d7
Don't `memcmp(x, y, -1)` from `ranges::lexicographical_compare` (#3989)
CaseyCarter Aug 31, 2023
6c69a73
Don't violate preconditions in tr1/regex3 (#3990)
CaseyCarter Aug 31, 2023
9b468b3
Remove some `#ifdef _CRTBLD` blocks (#3964)
achabense Sep 7, 2023
d16d735
Cleanups for `<exception>` (#3973)
achabense Sep 7, 2023
f98b286
Fix `num_get`'s float-parsing problem (#3982)
achabense Sep 7, 2023
d97e997
Update _MSVC_STL_UPDATE to September 2023 (#4003)
kissholic Sep 7, 2023
db6379e
Remove `/clr` test workarounds (#4012)
StephanTLavavej Sep 7, 2023
d8ed02d
Make `expected<any, ...>` and `expected<void, any>` copyable (#4013)
achabense Sep 7, 2023
11e815d
Merge branch 'main' into update-flat_set
StephanTLavavej Sep 8, 2023
8dd198f
Fix stealth merge conflict with C++20 Standard Library Modules.
StephanTLavavej Sep 8, 2023
384040a
Use 4-arg std::equal().
StephanTLavavej Sep 8, 2023
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
2 changes: 1 addition & 1 deletion boost-math
Submodule boost-math updated 200 files
2 changes: 1 addition & 1 deletion docs/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "git",
"git": {
"repositoryUrl": "https://github.com/boostorg/math",
"commitHash": "c56f334348d5476783fba996d604fc5c6ae980c3"
"commitHash": "1a7be5d895d266a870af7a6ed258e5bcf9838277"
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions stl/inc/__msvc_chrono.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,15 +428,15 @@ namespace chrono {
constexpr bool _Num_is_one = _CF::num == 1;
constexpr bool _Den_is_one = _CF::den == 1;

if (_Den_is_one) {
if (_Num_is_one) {
if constexpr (_Den_is_one) {
if constexpr (_Num_is_one) {
return static_cast<_To>(static_cast<_ToRep>(_Dur.count()));
} else {
return static_cast<_To>(
static_cast<_ToRep>(static_cast<_CR>(_Dur.count()) * static_cast<_CR>(_CF::num)));
}
} else {
if (_Num_is_one) {
if constexpr (_Num_is_one) {
return static_cast<_To>(
static_cast<_ToRep>(static_cast<_CR>(_Dur.count()) / static_cast<_CR>(_CF::den)));
} else {
Expand Down
6 changes: 3 additions & 3 deletions stl/inc/algorithm
Original file line number Diff line number Diff line change
Expand Up @@ -8288,13 +8288,13 @@ namespace ranges {
}

// divide and conquer by quicksort
#if defined(__clang__) || defined(__EDG__) // TRANSITION, DevCom-1559808
#if defined(__clang__) || defined(__EDG__) // TRANSITION, DevCom-10452846
auto [_Mid_first, _Mid_last] = _Partition_by_median_guess_common(_First, _Last, _Pred, _Proj);
#else // ^^^ no workaround / workaround vvv
auto _Mid = _Partition_by_median_guess_common(_First, _Last, _Pred, _Proj);
auto _Mid_first = _Mid.begin();
auto _Mid_last = _Mid.end();
#endif // TRANSITION, DevCom-1559808
#endif // TRANSITION, DevCom-10452846

_Ideal = (_Ideal >> 1) + (_Ideal >> 2); // allow 1.5 log2(N) divisions

Expand Down Expand Up @@ -10654,7 +10654,7 @@ namespace ranges {
constexpr bool _Is_sized2 = sized_sentinel_for<_Se2, _It2>;
if constexpr (!is_void_v<_Memcmp_classification_pred> && _Sized_or_unreachable_sentinel_for<_Se1, _It1>
&& _Sized_or_unreachable_sentinel_for<_Se2, _It2> && same_as<_Pj1, identity>
&& same_as<_Pj2, identity>) {
&& same_as<_Pj2, identity> && (_Is_sized1 || _Is_sized2)) {
if (!_STD is_constant_evaluated()) {
size_t _Num1;
if constexpr (_Is_sized1) {
Expand Down
11 changes: 5 additions & 6 deletions stl/inc/chrono
Original file line number Diff line number Diff line change
Expand Up @@ -5293,14 +5293,14 @@ namespace chrono {
if constexpr (_Is_specialization_v<_Ty, duration>) {
if constexpr (!treat_as_floating_point_v<typename _Ty::rep>) {
if (_Specs._Precision != -1) {
_THROW(format_error("Precision specification invalid for chrono::duration type with "
"integral representation type, see N4950 [time.format]/1."));
_Throw_format_error("Precision specification invalid for chrono::duration type with "
"integral representation type, see N4950 [time.format]/1.");
}
}
} else {
if (_Specs._Precision != -1) {
_THROW(format_error("Precision specification invalid for non-chrono::duration type, "
"see N4950 [time.format]/1."));
_Throw_format_error("Precision specification invalid for non-chrono::duration type, "
"see N4950 [time.format]/1.");
}
}

Expand Down Expand Up @@ -5747,8 +5747,7 @@ namespace chrono {
return true;
} else if constexpr (is_same_v<_Ty, month_day_last>) {
if (_Val.month() >= February) {
_THROW(
format_error("The day of year for a month_day_last other than January is ambiguous"));
_Throw_format_error("The day of year for a month_day_last other than January is ambiguous");
}
return true;
} else if constexpr (_Is_ymd) {
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/ctime
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ _EXPORT_STD using _CSTD strftime;
_EXPORT_STD using _CSTD timespec;
#endif // _HAS_CXX17

#if _HAS_CXX23 && defined(_BUILD_STD_MODULE) // TRANSITION, OS-33790456
#ifdef _BUILD_STD_MODULE // TRANSITION, OS-33790456
_STL_DISABLE_DEPRECATED_WARNING

_EXPORT_STD
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_1
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_1 {
enum { _Nlow = 0x100, _Nbytes = 1 };
Expand All @@ -86,7 +86,7 @@ namespace stdext {
const unsigned char _tab_8859_1<_Dummy>::_Wtb[1] = {0};
template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_1 : public _Cvt_one_byte<_Elem, _tab_8859_1<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_10
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_10 {
enum { _Nlow = 0xa1, _Nbytes = 1 };
Expand Down Expand Up @@ -105,7 +105,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_10 : public _Cvt_one_byte<_Elem, _tab_8859_10<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_13
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_13 {
enum { _Nlow = 0xa1, _Nbytes = 1 };
Expand Down Expand Up @@ -103,7 +103,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_13 : public _Cvt_one_byte<_Elem, _tab_8859_13<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_14
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_14 {
enum { _Nlow = 0xa1, _Nbytes = 1 };
Expand Down Expand Up @@ -100,7 +100,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_14 : public _Cvt_one_byte<_Elem, _tab_8859_14<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_15
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_15 {
enum { _Nlow = 0xa4, _Nbytes = 1 };
Expand Down Expand Up @@ -98,7 +98,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_15 : public _Cvt_one_byte<_Elem, _tab_8859_15<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_16
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_16 {
enum { _Nlow = 0xa1, _Nbytes = 1 };
Expand Down Expand Up @@ -101,7 +101,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_16 : public _Cvt_one_byte<_Elem, _tab_8859_16<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_2
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_2 {
enum { _Nlow = 0xa1, _Nbytes = 1 };
Expand Down Expand Up @@ -107,7 +107,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_2 : public _Cvt_one_byte<_Elem, _tab_8859_2<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_3
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_3 {
enum { _Nlow = 0xa1, _Nbytes = 1 };
Expand Down Expand Up @@ -103,7 +103,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_3 : public _Cvt_one_byte<_Elem, _tab_8859_3<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_4
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_4 {
enum { _Nlow = 0xa1, _Nbytes = 1 };
Expand Down Expand Up @@ -105,7 +105,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_4 : public _Cvt_one_byte<_Elem, _tab_8859_4<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_5
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_5 {
enum { _Nlow = 0xa1, _Nbytes = 1 };
Expand Down Expand Up @@ -113,7 +113,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_5 : public _Cvt_one_byte<_Elem, _tab_8859_5<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_6
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_6 {
enum { _Nlow = 0xa1, _Nbytes = 1 };
Expand Down Expand Up @@ -107,7 +107,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_6 : public _Cvt_one_byte<_Elem, _tab_8859_6<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_7
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_7 {
enum { _Nlow = 0xa1, _Nbytes = 1 };
Expand Down Expand Up @@ -114,7 +114,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_7 : public _Cvt_one_byte<_Elem, _tab_8859_7<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_8
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_8 {
enum { _Nlow = 0xa1, _Nbytes = 1 };
Expand Down Expand Up @@ -105,7 +105,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_8 : public _Cvt_one_byte<_Elem, _tab_8859_8<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/8859_9
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_8859_9 {
enum { _Nlow = 0xd0, _Nbytes = 1 };
Expand Down Expand Up @@ -97,7 +97,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_8859_9 : public _Cvt_one_byte<_Elem, _tab_8859_9<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/baltic
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_baltic {
enum { _Nlow = 0xa1, _Nbytes = 1 };
Expand Down Expand Up @@ -75,7 +75,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_baltic : public _Cvt_one_byte<_Elem, _tab_baltic<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/big5
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_big5 {
enum { _Nlow = 0x80, _Nbytes = 2 };
Expand Down Expand Up @@ -4379,7 +4379,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_big5 : public _Cvt_two_byte<_Elem, _tab_big5<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
4 changes: 2 additions & 2 deletions stl/inc/cvt/cp037
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS
#undef new

namespace stdext {
namespace cvt {
namespace _DEPRECATE_STDEXT_CVT cvt {
template <class _Dummy>
struct _tab_cp037 {
enum { _Nlow = 0x04, _Nbytes = 1 };
Expand Down Expand Up @@ -118,7 +118,7 @@ namespace stdext {

template <class _Elem, unsigned long _Maxcode = 0xffff>
class codecvt_cp037 : public _Cvt_one_byte<_Elem, _tab_cp037<int>, _Maxcode> {};
} // namespace cvt
} // namespace _DEPRECATE_STDEXT_CVT cvt
} // namespace stdext

#pragma pop_macro("new")
Expand Down
Loading