Exchange the targets held by this function and the specified other.

Synopsis

Declared in <bslstl_function.h>

void
swap(function& other) noexcept;

Description

The behavior is undefined unless get_allocator() == other.get_allocator().

Parameters

Name

Description

other

function with which to exchange targets

Created with MrDocs