File tree Expand file tree Collapse file tree 3 files changed +1
-16
lines changed
std/tests/P0896R4_views_join Expand file tree Collapse file tree 3 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -3566,19 +3566,6 @@ namespace ranges {
3566
3566
_EXPORT_STD template <input_range _Vw>
3567
3567
requires view<_Vw> && input_range<range_reference_t<_Vw>>
3568
3568
class join_view : public _Join_view_base<_Vw> {
3569
-
3570
- #ifndef _USE_JOIN_VIEW_INPUT_RANGE
3571
- static_assert(forward_range<_Vw>,
3572
- "Due to a design flaw, join_view can misbehave "
3573
- "with some input-only ranges (see https://wg21.link/lwg3698). "
3574
- "We believe that WG21 will be unable to fix this problem without breaking ABI. "
3575
- "To minimize breakage when a fix is implemented, "
3576
- "we are temporarily disabling potentially problematic cases. "
3577
- "You can define _USE_JOIN_VIEW_INPUT_RANGE to suppress this error, "
3578
- "but be aware that you will almost certainly need to recompile "
3579
- "when we release a fix.");
3580
- #endif // _USE_JOIN_VIEW_INPUT_RANGE
3581
-
3582
3569
private:
3583
3570
template <bool _Const>
3584
3571
using _InnerRng = range_reference_t<_Maybe_const<_Const, _Vw>>;
Original file line number Diff line number Diff line change 3
3
4
4
RUNALL_INCLUDE ..\universal_prefix.lst
5
5
RUNALL_CROSSLIST
6
- PM_CL="/EHsc /MTd /std:c++latest /permissive- /utf-8 /FImsvc_stdlib_force_include.h /wd4643 /D_STL_CALL_ABORT_INSTEAD_OF_INVALID_PARAMETER /D_USE_JOIN_VIEW_INPUT_RANGE "
6
+ PM_CL="/EHsc /MTd /std:c++latest /permissive- /utf-8 /FImsvc_stdlib_force_include.h /wd4643 /D_STL_CALL_ABORT_INSTEAD_OF_INVALID_PARAMETER"
7
7
RUNALL_CROSSLIST
8
8
PM_CL="/analyze:autolog- /Zc:preprocessor /wd6262"
9
9
PM_COMPILER="clang-cl" PM_CL="-fno-ms-compatibility -fno-delayed-template-parsing -Wno-unqualified-std-cast-call"
Original file line number Diff line number Diff line change 1
1
// Copyright (c) Microsoft Corporation.
2
2
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3
3
4
- #define _USE_JOIN_VIEW_INPUT_RANGE
5
-
6
4
#include < algorithm>
7
5
#include < array>
8
6
#include < cassert>
You can’t perform that action at this time.
0 commit comments