operator==, operator<=> (std::basic_stacktrace)
|
template
<
class
Allocator2
>
friend
bool
operator
==
(
const
basic_stacktrace
&
lhs,
|
(1) | (C++23 이후) |
|
template
<
class
Allocator2
>
friend
std::
strong_ordering
|
(2) | (C++23 이후) |
if ( auto cmp = lhs. size ( ) <=> rhs. size ( ) ; cmp ! = 0 )
return
cmp
;
else
return
std::
lexicographical_compare_three_way
(
lhs.
begin
(
)
, lhs.
end
(
)
,
이러한 함수 템플릿은 일반적인 unqualified lookup 또는 qualified lookup 으로는 보이지 않으며, std::basic_stacktrace<Allocator>가 인자들의 연관 클래스일 때에만 argument-dependent lookup 에 의해 찾을 수 있습니다.
<
,
<=
,
>
,
>=
, 그리고
!=
연산자들은 각각
합성됩니다
operator
<=>
와
operator
==
로부터.
목차 |
매개변수
| lhs, rhs | - |
basic_stacktrace
비교할 내용을 가진 스택 트레이스
|
반환값
복잡도
예제
|
이 섹션은 불완전합니다
이유: 예제 없음 |