cpp/filesystem/space

Determines the information about the filesystem on which the pathname is located, as if by POSIX.

Populates and returns an object of type, set from the members of the POSIX as follows
 * is set as if by
 * is set to
 * is set to
 * Any member that could not be determined is set to

The non-throwing overload sets all members to on error.

Return value
The filesystem information (a object).