basic_path::swap Method

Exchanges the file-name string contents from a specified basic_path object for the file-name string contents of the other object.

void swap(
   basic_path& Right
);

Parameters

  • Right
    A basic_path object.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

basic_path Class

<filesystem>

basic_string::swap