|
Boost : |
From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-09-12 16:28:32
I'm planning to add a filesystem function to determine available disk space.
Perhaps something like:
struct space
{
boost::uintmax_t available; // bytes available to user
boost::uintmax_t total; // total bytes on volume
};
space filesystem_space( const path & p );
Comments?
How safe is the assumption that uintmax_t is large enough nowadays for any
modern compiler on a system supporting large disks.
Better suggestions for the names?
--Beman
PS: this is slightly revised from a post on the users list.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk