BloombergLP::balst::swap

Exchange the values of the specified a and b objects.

Synopsis

Declared in <balst_stacktraceframe.h>

void
swap(
    StackTraceFrame& a,
    StackTraceFrame& b);

Description

This function provides the no-throw exception-safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise.

Parameters

NameDescription
afirst object to exchange
bsecond object to exchange