Share via


basic_path::swap Method

Exchanges the stored file name for the file name from a specified basic_path 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