Boost logo

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 );


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?


PS: this is slightly revised from a post on the users list.

Boost list run by bdawes at, gregod at, cpdaniel at, john at