Share via


file_status::type Method

Sets or retrieves a stored file_type.

file_type type() const;
void type(
   file_type Ftype
);

Parameters

  • Ftype
    A file_type.

Return Value

The first function returns the stored file_type.

Remarks

The second function sets Ftype as the stored file_type.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

file_status Class

<filesystem>