Exchange the targets held by this function and the specified other function. The behavior is undefined unless get_allocator() == other.get_allocator().

Synopsis

Declared in <bslstl_function.h>

void
swap(function& other) noexcept;

Created with MrDocs