Share via


copy_option Enumeration

An enumeration that is used with copy_file and determines behavior if a destination file already exists.

enum copy_option;

Members

Values

Name

Description

fail_if_exists

copy_file throws an exception if the destination file already exists.

overwrite_if_exists

copy_file overwrites the destination file if it already exists.

Requirements

Header: filesystem

Namespace: std::tr2::sys::copy_option

See Also

Reference

<filesystem>

Other Resources

Header Files