Exchange this object's target, manager, and invoker with other.

Synopsis

Declared in <bslstl_function_rep.h>

void
swap(Function_Rep& other) noexcept;

Description

Exchange this object's target object, manager function, and invoker with those of the specified other object. The behavior is undefined unless this‐>get_allocator() == other‐>get_allocator().

Parameters

Name

Description

other

representation with which to exchange state

Created with MrDocs