Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 stl/inc/xutility
Original file line number Diff line number Diff line change
Expand Up @@ -3353,7 +3353,7 @@ namespace ranges {
class _Ssize_fn {
public:
template <class _Rng>
_NODISCARD constexpr auto operator()(_Rng&& _Range) const
_NODISCARD constexpr auto operator()(_Rng&& _Range) const noexcept(noexcept(_RANGES size(_Range)))
requires requires { _RANGES size(_Range); }
{
using _Sty = _Make_signed_like_t<decltype(_RANGES size(_Range))>;
Expand Down
1 change: 1 addition & 0 deletions tests/std/tests/P0896R4_ranges_range_machinery/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1529,6 +1529,7 @@ namespace nothrow_testing {
STATIC_ASSERT(noexcept(ranges::crend(t)) == Nothrow);
STATIC_ASSERT(noexcept(ranges::empty(t)) == Nothrow);
STATIC_ASSERT(noexcept(ranges::size(t)) == Nothrow);
STATIC_ASSERT(noexcept(ranges::ssize(t)) == Nothrow);
STATIC_ASSERT(noexcept(ranges::data(t)) == Nothrow);
STATIC_ASSERT(noexcept(ranges::cdata(t)) == Nothrow);

Expand Down