std::basic_stacktrace<Allocator>::operator=

Replaces the contents of the basic_stacktrace.

# Declarations

basic_stacktrace& operator=( const basic_stacktrace& other );

(since C++23)

basic_stacktrace& operator=( basic_stacktrace&& other )
noexcept(/* see below */);

(since C++23)

# Parameters

# Return value

*this

# Notes

After container move assignment (overload (2)), unless element-wise move assignment is forced by incompatible allocators, references, pointers, and iterators (other than the end iterator) to other remain valid, but refer to elements that are now in *this. The current standard makes this guarantee via the blanket statement in [container.reqmts]/67, and a more direct guarantee is under consideration via LWG issue 2321.

# Example

This section is incompleteReason: no example

# See also