File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 499
499
namespace std {
500
500
template<class T>
501
501
requires @\libconcept {convertible_to}@<T, decay_t<T>>
502
- constexpr decay_t<T> @\placeholdernc {decay-copy}@(T&& v)
503
- noexcept(is_nothrow_convertible_v<T, decay_t<T>>) // \expos
502
+ constexpr decay_t<T> @\placeholdernc {decay-copy}@(T&& v) // \expos
503
+ noexcept(is_nothrow_convertible_v<T, decay_t<T>>)
504
504
{ return std::forward<T>(v); }
505
505
506
- constexpr auto @\placeholdernc {synth-three-way}@ =
506
+ constexpr auto @\placeholdernc {synth-three-way}@ = // \expos
507
507
[]<class T, class U>(const T& t, const U& u)
508
508
requires requires {
509
509
{ t < u } -> @\exposconcept {boolean-testable}@;
520
520
};
521
521
522
522
template<class T, class U=T>
523
- using @\placeholdernc {synth-three-way-result}@ = decltype(@\placeholdernc {synth-three-way}@(declval<T&>(), declval<U&>()));
523
+ using @\placeholdernc {synth-three-way-result}@ = // \expos
524
+ decltype(@\placeholdernc {synth-three-way}@(declval<T&>(), declval<U&>()));
524
525
}
525
526
\end {codeblock }
526
527
You can’t perform that action at this time.
0 commit comments