space Function

Retrieves information about a specified volume.

template<class Path>
inline space_info space(
   const Path& Pval
);

Parameters

  • Pval
    A Path object that specifies a volume. Path can be either a basic_path or a type that's derived from basic_path.

Return Value

A space_infostruct that contains information about the volume. If no information can be determined, the value of each data member of the struct is 0.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

<filesystem>

Other Resources

C++ Standard Library Header Files