Share via


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 path or a type that's derived from path.

Return Value

A space_info struct 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