operator==, operator<=> (std::basic_stacktrace)
template
<
class
Allocator2
>
friend
bool
operator
==
(
const
basic_stacktrace
&
lhs,
|
(1) | (since C++23) |
template
<
class
Allocator2
>
friend
std::
strong_ordering
|
(2) | (since C++23) |
if ( auto cmp = lhs. size ( ) <=> rhs. size ( ) ; cmp ! = 0 )
return
cmp
;
else
return
std::
lexicographical_compare_three_way
(
lhs.
begin
(
)
, lhs.
end
(
)
,
These function templates are not visible to ordinary unqualified or qualified lookup , and can only be found by argument-dependent lookup when std::basic_stacktrace<Allocator> is an associated class of the arguments.
The
<
,
<=
,
>
,
>=
, and
!=
operators are
synthesized
from
operator
<=>
and
operator
==
respectively.
Parameters
lhs, rhs | - |
basic_stacktrace
s whose contents to compare
|
Return value
Complexity
Example
This section is incomplete
Reason: no example |